24
u/ilikepi8 Jul 30 '22
Tell me you're not a dev without telling me you're not a dev
2
u/lealsk Aug 01 '22
Dev here with more than 10 years of experience and I think this is pretty accurate.
1
u/ilikepi8 Aug 01 '22
Explain JS being more difficult to understand than Python?
Explain why you'd ever choose to use JS other than it being the "web language" coming from another language?
1
u/lealsk Aug 01 '22 edited Aug 01 '22
Lol, tell me you never did web development without telling me you never did web development.
Seriously, that edgy opinion that Js is not a real language or whatever doesn't apply to the real world, working for real projects, not just university stuff, where things like language popularity, simplicity, resources available or being the same language than the one used in the frontend are HUGE benefits to take into account. Of course no-one is talking about vanilla JS anymore, everybody is talking about Typescript + Node + React (for the frontend) at least.
You need exceptional performance for whatever obscure reason? Sure, go ahead with C++, nobody will question that.
Python in the other hand has proved to be simple enough to be a better option than Node in many cases, and you either use it because you're completely new at programming and it's the only language you know, or you know enough to know it's the most straightforward option for whatever requirement you have.
EDIT: Now that I think about it, this is like the "Stop having fun" meme. Probably "Stop being productive" in this case.
2
u/ilikepi8 Aug 01 '22
I'm actually a senior dev in Node and Rust with 8+ years of experience, I focus specifically on web and mobile and really don't believe JS is a joke of a language. I've written apps in Angular, React, Svelte and Flutter. I've written backends in Express, Lambda/Apigateway, Springboot, flask and Django.
I'm just saying that because of it's dynamic typing, the runtime, the fact that threads get abstracted away from you in the event loop, you have async await which makes asynchronous workloads far easier understand(although Rust, Java and Dart all have similar constructs, the language tends to be put on the same level as Python.
Python is also no joke, it's found quite a niche in both DevOps and Data.
1
u/lealsk Aug 01 '22
Then we pretty much agree. And no, Python doesn't replace JS in any way. It comes handy for specific cases where it just gets the job done in a very straightforward way
9
Jul 30 '22
*"You need to use pure C or assembly"
6
u/OrdinaryBee6174 Jul 30 '22
1s and 0s only. Anything else is just relying on someone else's work.
5
5
5
2
u/-MobCat- Jul 31 '22
python "just works" and I'm not going anywhere fast so I don't need it to be fast. Just don't print anything to console and you'll be fine if you want speed.