How would you rate JavaScript as a programming language.

I gave it 3 stars out of 5. 


- Weak type. Which is fun but also hard to manage when program became large. Ruby and Python though they also not typed but have better mechanism  to handle type


- Source of confusion; for example; hoisting, this, prototype. Which makes it hard for beginners with no programming background to learn


- Not as beautiful syntax as Ruby or Python.
Javascript is a mess. That it became as big and relevant as it is today is kind of sad, actually.
lol Mister this because you didn't saw language likes C++, C# or even Lua.


those language are kinda hard to work with.


JavaScript is relatively easy to work with FAR MORE easier than any other language. the problem it's have the Java vibes style.


who's mean type 21 f*cking letter for make one function


and "this" is a global concept to every language it's change to self in certain language but overal this is the global concept to "To this class" or instance variable.


@ was the same concept for a instance variable in Ruby. the difference is ruby use TWO type of instance self variable who's even more confusing.


overall it's messy because you don't have ONE way to code it such C or ruby. 


but since the ES6 it's become easier to use Javascript.
NaN / 10
3/10 - I absolutely hate it personally and seems to make certain things different then other languages just because.


@Hudell -


It became popular for it was THE language of the internet with Netscape.  There was no other choice back then (and thus people had to use it) and people would of had to spend time learning other languages that started to become supported.  


Plus, Javascript is a lot different then most other languages out there, almost as if it tried to make it difficult to switch between itself and others (Switching from another language to Javascript and vice-versa is not that easy, especially during that time where there were so many people that only knew JavaScript.  This is unlike switching between things like C++ and Java or Ruby and Java as they have much more in common).


Heck, even the name, JavaScript, was used to try and gain more popularity (Java was really, really big back then and JavaScript used that to it's advantage to get more more attention with it's name).
I quite like JS for programming. Sure, its not as nice to read as other languages (such as Ruby), but as mentioned, it is also not as hard to read as other languages (C type languages are perfect examples, and I am sure there are harder things out there).


Overall, I would probably rate it as 7.5 - 8 out of 10. 🙂
I quite like JS for programming. Sure, its not as nice to read as other languages (such as Ruby), but as mentioned, it is also not as hard to read as other languages (C type languages are perfect examples, and I am sure there are harder things out there).


Overall, I would probably rate it as 7.5 - 8 out of 10. 🙂

I love JavaScript, it was my first programming language, but bias aside it's a solid 7/10. It's good but it's not great, like every programming language it has it's limits, We don't use too much JS at work I only use it in my free-time, to play with. It's certainly easier to learn  than C#, C++ etc, and definitely Assembly. I do recommend it for beginners.
i give it a 5. I used it a decade ago for web but now as a full fledged language my dusting off books and relearning it is a headache (not much as ruby though). It's easier than c (I learned c/c+/c++ back in the day, at the time c# wasn't big yet) but still a tad chaotic. It's okay nothing to toot about. It does what it does.
lol Mister this because you didn't saw language likes C++, C# or even Lua.


those language are kinda hard to work with.


JavaScript is relatively easy to work with FAR MORE easier than any other language. the problem it's have the Java vibes style.


who's mean type 21 f*cking letter for make one function


and "this" is a global concept to every language it's change to self in certain language but overal this is the global concept to "To this class" or instance variable.


@ was the same concept for a instance variable in Ruby. the difference is ruby use TWO type of instance self variable who's even more confusing.


overall it's messy because you don't have ONE way to code it such C or ruby. 


but since the ES6 it's become easier to use Javascript.

I know  C and Assembly are much harder to learn and to use but they are designed to handle different stuff. Assembly is lower language while C is best use for those Network, Cisco mostly use C to program their routers. 


JS tried to be different but in a complicated way; for example prototype is nothing but inheritance in other programming languages. Constructor isn't straight forward though  what it does is just the same as other language but in a more confusing way. 


This is most confusing part. If you're background from Java you would think this refer to the current object but in practice JS's this refer to where it is called. 


JS isn't hard to learn nor use when comparing with C and Assembly. It's design and logic just flaws in many parts.
I don't disagree 


even if originally it's was not supposed to look like this.


it's all because of netScape who wanted it to be more JAVA like lol.


but yeah the only thing's I hate is that JS is a weak typed language
Could be less verbose. That's probably the only complaint I have.


As far as a high-level interpreted language goes, it's about the same as programming in python or ruby once you figure out how it works.

JS tried to be different but in a complicated way; for example prototype is nothing but inheritance in other programming languages. Constructor isn't straight forward though  what it does is just the same as other language but in a more confusing way. 



Not really. You can achieve inheritance using prototypes, but to say that's all prototypes are would be misleading.


Prototype has little to do with the concept of inheritance.

but yeah the only thing's I hate is that JS is a weak typed language



Automatic type casting is kind of annoying as well, but if you realize that it happens, then you should be able to avoid it.


Rather than having the compiler or the engine yell at you, you pretty much have to discipline yourself to perform type-checks and casting all the time.


ALL THE TIME.


You can avoid duck-typing. That makes things a bit easier to predict.
Ahh good old java it's the stuff android is made of i love it and coding in it is a breeze 


i used to make webpages ya know
Ahh good old java it's the stuff android is made of i love it and coding in it is a breeze 


i used to make webpages ya know



Java =/= JS


Both can be used to make webpages and Android apps, confusingly...
Rather than having the compiler or the engine yell at you, you pretty much have to discipline yourself to perform type-checks and casting all the time.



You still lose out on a lot of the niceties of strict typing like:

  • Improved IDE "intellisense" feedback style to make development far less cumbersome (it sure is fun switching tabs constantly to see what a function expected and returns, right?)
  • Catching the human errors we will inevitably make when we pass data around and around and around before runtime
  • Significantly more useful automatic documentation and code readability in general

Those are just from the top of my head. But TypeScript scratches those itches for me.
Could be less verbose. That's probably the only complaint I have.


As far as a high-level interpreted language goes, it's about the same as programming in python or ruby once you figure out how it works.


Not really. You can achieve inheritance using prototypes, but to say that's all prototypes are would be misleading.


Prototype has little to do with the concept of inheritance.


Automatic type casting is kind of annoying as well, but if you realize that it happens, then you should be able to avoid it.


Rather than having the compiler or the engine yell at you, you pretty much have to discipline yourself to perform type-checks and casting all the time.


ALL THE TIME.


You can avoid duck-typing. That makes things a bit easier to predict.






1

Sure, all programming languages can be mastered. But, don't you find it cumbersome when you have to do type check all the time? Ruby has a better mechanism to handle data type  that you don't really need check type a lot. Java's data is what it is, you know data type instantly saves your brain cell some works. Sure, you can write your code as beautiful as you write Ruby. But things ain't always like that if you have to read/debug someone's code that is not your writing style. And I did not even mention when you use JS on DOM/BOM that even more ridiculous, not fun to play with. Its logic just awkward. SWIFT 2 by far is my most preferable programming language.
Sure, all programming languages can be mastered. But, don't you find it cumbersome when you have to do type check all the time? Ruby has a better mechanism to handle data type  that you don't really need check type a lot. Java's data is what it is, you know data type instantly saves your brain cell some works. Sure, you can write your code as beautiful as you write Ruby. But things ain't always like that if you have to read/debug someone's code that is not your writing style. And I did not even mention when you use JS on DOM/BOM that even more ridiculous, not fun to play with. Its logic just awkward. SWIFT 2 by far is my most preferable programming language.



While I do prefer enforced types and whatnot, it doesn't really detract me from javascript.


Sure, people can write terrible code, but there's plenty of terrible code in other languages that I wouldn't want to read either.

You still lose out on a lot of the niceties of strict typing like:

  • Improved IDE "intellisense" feedback style to make development far less cumbersome (it sure is fun switching tabs constantly to see what a function expected and returns, right?)
  • Catching the human errors we will inevitably make when we pass data around and around and around before runtime
  • Significantly more useful automatic documentation and code readability in general

Those are just from the top of my head. But TypeScript scratches those itches for me.



There are lots of benefits for static typing, yes. It also enforces more rigid design in your code, which is arguably a better thing for large software since you can't just do whatever you want and the computer just let's you do it.
Yep dream weaver uses java so </head> <\body> is standard  html

Original thread: https://forums.rpgmakerweb.com/threads/how-would-you-rate-javascript-as-a-programming-language.61696/