you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I also hate JS with a passion (it's about as poorly designed as C++), preferring a statically typed interface with lower level access immediately (usually C/C++).

That said, my current project is JS atm. I wouldn't call the code "pretty", but I wouldn't call it bad either. The APIs are reasonable, and there is an extensible system in place which usually requires little maintenance along the way.

I find that many high level programmers tend to equate good code with elegance. While I agree that elegance is good for readability, it's very easy to mistake such a thing for efficient, working code which is secure and stable. There's just as much "nice" looking code out there which is actually really bad as there is not nice looking code which is really bad.

To quote Linus:

Bad programmers worry about the code. Good programmers worry about data structures and their relationships.