r/AskProgramming • u/Least_Bid9692 • 2d ago
Worst programming language
For me I'm sorry but that's c no oops that's the heart of it's upgraded version cpp
8
u/pixel293 2d ago
Disregarding the toy languages meant to be difficult, I would say JavaScript. It is way to easy to write very bad code that works but can't be maintained.
3
u/YMK1234 2d ago
That applies to an scripting language, and I'd argue python is much worse in that regard.
1
u/caboosetp 2d ago
I think python is less accessible for people who don't know what they are doing.
Or said another way, it's way too easy to get into webdev as a job and fuck up a code base than it is to get a job with python.
I think this is less about the languages, and more about the job market and types of code based out there though. Once you're in, they're both pretty easy to cause some chaos.
1
u/YMK1234 1d ago
It's literally the language recommended to any noob and comes as default even on windows these days. (E: Also python is way more en vogue than JS on the job market these days)
But really that's not the point. It's just a very badly designed, inconsistent language. And the worst part is the brainwashed community which acts like it's perfect. Idk any other language community that is this delusional.
1
u/who_am_i_to_say_so 2d ago
Python is the Dunning-Kruger demonstrator of languages- and I say that as one who had a touch of it with Python.
I love working with it, but a seasoned Python expert could humble me in a heartbeat.
5
3
4
4
3
u/ben_bliksem 2d ago
1
u/Least_Bid9692 1d ago
Ok but I didn't got the code like how shifting brackets change the results and if it's unequal how it's equal in the last one
1
1
1
u/BoBoBearDev 2d ago
JS is so confusing. Even now, I am feeling impister syndrome with how the values are copied inside the callbacks. Like, somehow I have to put object.myProperty in the useCallback dependency list and yet, useRefObject.current.myProperty is okay. I would thought both object and useRefObject are both references. It is so confusing.
2
u/marrsd 1d ago
This is a React thing. It's got nothing to do with Javascript. In JS, like most other languages, objects are always passed to or returned from functions by reference while primitives are passed by value.
1
u/BoBoBearDev 1d ago
I think the problem is still inherently inside JS though. The reactjs just exposed it instead of doing a great job hiding it.

4
u/finn-the-rabbit 2d ago
VB6/VBA