Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tend to see much clearer indicators in JavaScript code. Global variables? Lots of functions outside any closure? Old skool js coder ahead.

You can also tell javascript only programmers a mile off. Anonymous functions everywhere? Functions have multiple concerns? Use 'var aFunction = function()'? Mono linguist and spaghetti code ahead.



A lot more JS coders could benefit from adding "use strict" to their code too. It's frankly amazing it isn't used more.


Honestly, in practive it falls short and doesn't do nearly enough. :(


True. It does far too little at compile time. I don't understand why. Maybe we need a "use compile strict" ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: