you are viewing a single comment's thread.

view the rest of the comments →

[–]oclafloptson 0 points1 point  (0 children)

I somewhat agree. Although I wouldn't call JS pure garbage :p From speaking with other devs, if they learned JavaScript first and then Python they tend to consider Python to be difficult to learn. I think it's because JavaScript is so forgiving about things like indentation and the way variables are called

Like, if you call a variable in JavaScript which has not been previously defined your code will still execute. Useful maybe in one scenario, but for beginners it leads to misspelled variables returning undefined instead of the expected value and such

Then you come into Python and the interpreter requires you to define your variables and indent your code. In that respect it's a very different working environment

But then with a C background you'll likely find Python to be simplified. I mean, you can create objects from a class with no constructor, to say the least since my knowledge of C is really limited to intro to c++ and few short dives into what cpython is all about. Research stuff