|
|
|
|
|
by ascotan
3643 days ago
|
|
Javascript is a bad language. Function scope. Terrible type system. Lack of native integers. Oh and btw this: alert((![]+[])[+[]]+(![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]); which is should be a dead giveaway that something is terribly wrong here. It was never designed to have a standard library for instance. The author alludes to this fact as being a problem for nodejs that go/ruby doesn't have. Whenever I write a lot of front end code and then have to transition to writing backend code I realize how much my brain has melted trying to think in javascript. |
|
Like you said it was never designed to have a standard library and so forth, and therefore it sucks to use JS to do a lot of things.
However I was just saying I don't think it's fair to say something is badly designed because it's bad at doing things it wasn't designed to do. The interpretation of whether having a functional scope is good or bad is also subjective IMO, depending on context.
But anyway if your takeaway from my comment was just this, you didn't get my real point at all. I don't really care about whether javascript is a good language or bad language. My real point was this whole disaster is caused not just by javascript alone.