slates77
Registered User
- Mar 18, 2020
- 198
- 100
I imagine that Java was at the top for so long because it's a good language to teach programming. When I was studying computer science in the mid 90s, Pascal was the go-to "beginner's language," but Java was gaining popularity and I think that it replaced it soon after. With Python taking over the top spot in the last year, according to that video, I wonder if it's replaced Java in beginner programming courses. Perhaps a current CS student can tell us.
Most popular does not mean most employable. It all depends on the field someone wants to get into. There are certain fields like acadamia or data/machine learning where Python does indeed shine. But if you're looking to get into other areas such as mobile, web, desktop, games, robotics, or operating systems, then there are other languages that are more marketable imo.
It really depends what kind of development you want to do.
I worked in the robotics field and Python definitely has a place in that field due to its ROS API. Obviously, if you're getting into kernel/RTOS stuff you're using C though, and possibly C++ for the next layer above.
My buddy just sent me a Boston Dynamics video this morning so i looked up what language they primarily use. The replies i saw were suggesting they use Python primarily too.
My buddy just sent me a Boston Dynamics video this morning so i looked up what language they primarily use. The replies i saw were suggesting they use Python primarily too.
tbh I would rank it Java in most demand rn followed by the MS languages (Visual C++, ASP.net, shit like that) and Python 3rd
As someone who was looking through job applications those are def the most in demand atm
I don't have much experience with robotics or embedded systems to comment much, but from what you're saying it almost feels like Python is being used on top of C code bases. Much like how scripting languages are used in game engines for example, as in the engine core tends to be in C/C++ for most part where as the scripting part are usually easier languages like Lua, Python, C#, etc.
Python is written in C and can be itself directly extended by taking advantage of Python's C API, though that's not particularly for beginners. Shared libraries written in C can be rapidly and easily called in Python using ctypes and other packages. Many a 3rd-party package in Python's standard library is also written in C for optimization purposes. In short, Python plays very well with C. C++ less so, but it's not hard to get around the name mangling if you know what you're doing.
Game engine cores are generally C/C++ and have been for decades. The first game engines were written in assembly, because compilers weren't efficient enough to take advantage of the available computing resources at the time (this was especially important for console gaming; basically everything prior to the mid-late 90's was hand-coded.) I've done a bunch of work with the Unreal Engine and that's mostly C++.
Being written in C has little to nothing to do with it's usage as many other programming languages were also written in C. Technically speaking any language can use api libraries written in other languages and that's the case most of the time in programming. I think the reason is mostly because Python has gotten popular among the current generation and whenever a language get's popular like this you start to see libraries and tools popping up for it, which in return makes it a more attractive option to use.
If you're referring to the old NES/Atari days then yes, there wasn't enough resources to cater compilers so Assembly programming was done on those machines instead and each machine had its own set of Assembly instructions. The usage of C/C++ in gaming didn't really take off until the 90's as you said. Most of the main free game engines you see today like Unreal, Unity, Godot, etc are written in C++ but use various scripting languages.
I wonder if there’s enough interest in the HF boards community to talk about coding/software development/engineering.
I got a Rapberry Pi for Xmas. Installing everything now
I also use JavaScript (TS) for work and it’s fairly easily my most hated language. Their concept of “this” makes me want to kill myself every time I’m debugging.
TypeScript doesn’t make much of a difference when plenty of people in my team still use “any” rather than using the correct type.Javascript is an absolute nightmare, I mainly do backend development 80% of the time but everytime I have to touch frontend code it's an adventure mainly due to JS. It's crazy how much you need to depend on lo-dash to do stuff that is part of the standard library in other languages. Something as simple as trying to use custom objects as keys in a dictionary data structure is not supported at the language level, instead of being able to provide an identity method like every other language, JS makes you serialize the object into json and use that as the key lol... so wasteful and feels so hacky. It's not just the language it's the entire ecosystem that feels off.
At my last job there were a bunch of people who were trying to introduce JS on the backend on one of our projects, there is a special place in hell reserved for those people.
I am actually jealous you get to use TypeScript, atleast TS makes the development environment saner with compile time checking and other quality of life improvements like better integration with editors. I had been pitching our team to incorporate more TS in our front end but sketchy TS support by the framework we use made it difficult.
TypeScript doesn’t make much of a difference when plenty of people in my team still use “any” rather than using the correct type.
I feel like people who use JS in the backend are just frontend developers who don’t want to learn another language when their role has changed.
We use TS because when we were migrating an AngularJS app to something newer, we were thinking about React vs Angular and decided with Angular because it’s more enterprisey.
TypeScript doesn’t make much of a difference when plenty of people in my team still use “any” rather than using the correct type.
I feel like people who use JS in the backend are just frontend developers who don’t want to learn another language when their role has changed.
Javascript is okay. It's not really a programming language though but a script.
Javascript is okay. It's not really a programming language though but a script.
Scripts are usually just small programs that do a few tasks. But a scripting language is a subset of a programming language.Im just getting into programming myself so I’m a little confused by this too. Can you explain it a little more?
Scripts are usually just small programs that do a few tasks. But a scripting language is a subset of a programming language.
For example, I’d probably call bash a pure scripting language and definitely Powershell as no one makes full blown applications out of it, just a small one off task. Both are programming languages though.
I think it was probably fair to call JavaScript a scripting language if all everyone was doing was AJAX calls on the browser, however now there are full blown applications made with it.
Maybe someone better with the correct terminology could correct me if I’m wrong.