3 ms·
JS is honestly just plain ugly and a pain to read. The same program I write in JS, I could write in C in 3/4 the time or python in 1/2 the time. Classes, this,
by maceurt 8y ago
JS is honestly just plain ugly and a pain to read. The same program I write in JS, I could write in C in 3/4 the time or python in 1/2 the time. Classes, this, functions, function factories, anonymous functions, etc. are counter intuitive and confusing.
- tossimba 8y agoInteresting. I feel the opposite. I can write JS way faster than C or python. JS is much more forgiving and less restrictive than those other languages. edit: gotta love the downvotes for voicing your opinion. LOL
- gnfurlong 8y agoI honestly feel the same about Python and to a lesser extent C. But I also know that it's largely a matter of exposure. Every language has its quirks, it's just a matter of learning them. A lot of the ones you mentioned are common to all languages with support for functional programming.
- mbrodersen 8y agoI have 30+ years of experience writing C/C++. And I implement applications written in JS a lot faster than when using C/C++. A good developer can be productive in any programming language.
- maceurt 8y ago> A good developer can be productive in any programming language. I agree. I am just more productive in C and Python for most things over JS. However, the tools and language that you use matter. Brainfuck is turing complete, I could program a full game engine in it, but that would be a waste of time. The language that you use will make a difference in the time it takes to program something, and the most important part how maintainable it will be in the future. Javascript is some of the most unmaintainable code on the face of the planet, and that is coming from someone who has probably programmed more in JS than in any other programming language.
- landon32 8y agoJavaScript lets you code however you want. It gives you a million ways to do everything. This can definitely be confusing, slow, and overwhelming. However, if you choose a paradigm and stick to it JavaScript can be great. I've been using it as a forgiving functional programming language and it's amazing. Cleaner code than python, easier to reason about (thanks to pure functions + immutability, which you could also do in python or many other languages to be fair) and a very robust ecosystem for web development.