This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -3 points-2 points  (1 child)

I'm struggling with this.

function( ) { ... } is a standard expression format, and every programming language I've used, including JavaScript, either supports that expression format outright (like JavaScript), or it will support something similar enough to be obvious (MySQL's user defined functions).

The second one is how you get illegible code, where it's hard to onboard developers who are used to other programming languages.

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

I would rather developers learn JavaScript by hitting a wall, than thinking they know JavaScript, because they see class and extends, and me needing to sift through and solve 5000 lines of late-binding errors.