Looking for another Hobby, JavaScript or Python?

man, I’m being reminded of android studio and their android emulator.

Whenever I want to play game on android emulator, I need to disable Window Hypervisor Platform (AMD) or Hyper-V (Intel) otherwise the emulator will cause a BSOD. But if I am coding Android App using Kotlin (and OpenJDK), I must have Hypervisor Platform or Hyper-V with HAXM running otherwise Android Studio will not let me book up the emulator. So while coding, I can’t have an android emulator playing their mobile game in the background, if you’ve ever play mobile games that are more management base while it plays itself.

I will need to invest in a mobile phone to test apps, which is honestly faster. The problem with that is the amount of android phone model in the market and testing on each one.

Man I wish I can turn Hypervisor technology off and no without the need to reboot my PC.

Depends on where it fits into your interests, I suppose. In my 10+ years of professional game development, I’ve had little reason to care about Python myself, whereas JavaScript is pretty universal for web development and useful in some forms of prototyping.

I’ve specifically seen Python used for two things: Data analysis, and making custom plugins for art/animation programs. So I’d say if either those interests you, Python’s probably more relevant. Otherwise, JavaScript probably is.

It does seem like Python’s picking up some steam as a back-end language, so if you’re looking to be a full-stack web developer, you might end up needing both, but will definitely need JS.

I would say Javascript.

People will tell you “only pick javascript if you are into the web” but that’s naive and a dated belief. Javascript isn’t tightly coupled with browsers anymore, not by a longshot. True, it’s supported in pretty much every browser, but that’s not it’s only use case anymore.

Node’s come far enough that it’s a very reliable language for servers despite how opinionated people are on it, frameworks like Electron have come far enough that it’s a reliable language for desktop applications. Do you know what text editors like VSCode and Atom were made with? Javascript (well, typescript). You know what Discord runs on? Electron, so by extension, Javascript.

You learn it once, you can use almost everywhere. You could even go full-stack dev with only javascript if you wanted with something like react & nodejs (obviously I’m leaving out stuff like sql or nosql), if you wanted to turn your hobby into a career. As far as hobbies go, that’s a pretty good selling point. I think it’s also very easy to learn because the community is very large. There’s a lot of money in javascript development, believe it or not. Freelance or enterprise, front end or back end, pick your framework (vue, angular, react) - doesn’t matter. There simply aren’t enough developers right now, so it isn’t hard to find a good paying job dealing with javascript.

SQL is not a programming language, it is DML(Data manipulation language), DDL(Data definition language), etc… which are either used to set up databases, manipulate data in those databases, query databases etc… Essentially anything you want to do with a database, no more, no less.

If you do learn SQL, you will find that you can use it in just about any actual programming language to export/import data from or to a database for/by your program(s).

By the way, you shouldn’t just say you “learned a programming language” just because you’ve seen/memorized some of its building blocks.

By creating actual comprehensive programs with a frontend + backend you will learn so much more about these languages than if you only stick to creating simple programs.

Security of your programs/database access, design patterns, the efficiency of the code you write(linear, quadratic, exponential, logarithmic algorithms and their execution time) and testing are whole other rabbits nests to dive into.

You might know (some of) the building blocks, but the art is in putting them together.

Creating readable code(meaningful variable names/error messages etc… and documenting your code well) are also essential if you ever plan to be more than a one man show.

Trying to get worked into/optimizing code written by someone who does not document their code well or at all / has no meaningful names for variables/methods(or functions)/classes is a painful experience and will likely cause even the original creator to get lost/ introduce avoidable and potentially hard to nail down bugs.

1 Like

When coding projects, you will find that you do a lot of regular writing for manuals / documentations for your clients and co-workers. I learn this the hard way, as someone who has always done poorly in Reading & Writing in school. I had to rewrite documents all the time to make it clear for the user / client (if they actually take the time to read it).

Well it depends on how the company, but for smaller company it is fairly normal.

Python seems to have more uses, especially if you decide to learn Unity along with it and create games

The best way to learn a programming language is to have a project that you want to do, pick the language that is needed for that project, and then learn that language as part of the project. That could be anything.

That said, python is more useful than JS, generally. Python is used for a wide range of applications - web development, scientific computing, systems administration, whatever. Java and python are a bit more in demand in the job market, but… that’s not super useful information because the actual demand is field-specific. (No one expects a data scientist to know JS. No one expects a web developer to know R.)

Java script if you interested in Web design and application else
python for every thing else
Now this reminds me that I haven’t touched python in last 4 years

:cold_face:

Python has more application but you might want to figure out why you are choosing one over the other.

C

You can make it about OW. Python is the better language if you want to scrape data from their website. There, now it is about OW although their website devs probably won’t like that.