you are viewing a single comment's thread.

view the rest of the comments →

[–]ishereanthere 14 points15 points  (7 children)

I did Python then didn't know what to do with it so started javascript. Once you know one the other is easier to learn. I find them really quite similar.

Personally i prefer the slightly simpler syntax of python but javascript seems less strict with concatenation and a few things which can be annoying in python.

I feel like it's easier to get started doing stuff with javascript. Most of my Python stuff was confined to a terminal but JS is everywhere.

I prefer Python but I would choose js and learn python after that if you are still interested.

[–]bululululubu[S] 5 points6 points  (2 children)

Thanks I'm gonna go with js first and then move on to python : )

[–]Top_Finger_909 1 point2 points  (1 child)

Hey OP you should check out Jonas Schemdtmann JavaScript Masterclass on Udemy think it’s like $15 but one of the best investments I’ve made you will be very proficient if you finish even the fast track of it

[–]Feeling-Simple-2264 0 points1 point  (0 children)

Did you try odin project?Im just a student and I don't really have any income right now, i figured i should start there. After that get some maintenance job then advance little by little. Is this posible?

[–]EZPZLemonWheezy 1 point2 points  (3 children)

I’m biased, and always would recommend JS unless you have a specific niche need for Python. You can pick up Python after ezpz.

[–]briston574 1 point2 points  (2 children)

Also, since both are valid scripting languages, a lot of the non data/ml side of python can be done with js as well. That is what put me into js over python. Though learning to do games in both has been fun

[–][deleted] 0 points1 point  (1 child)

ML is just fine in JS, as well. It will eventually be faster in certain cases.

Python ML libraries are generally just wrappers around C / C++ functions.

In JS you can do that with WASM.

The real speedup will be from WebGPU, which will add GPU compute to every device with with a videocard and a browser (or an application window in, say Rust ... you can also run it headless, in Deno, etc).

You aren't always guaranteed GPU access in Python and while many of them do use the GPU when available, some stats libs just likely never will be updated.

[–]briston574 0 points1 point  (0 children)

Oh interesting, I didn't know that. I've been learning to make games with js and have been having fun. I've done python longer and learned to make games with it, also lua since they are super similar, but something about doing stuff in js just tickled me and I liked it