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

JavaScript with "use strict"--which is basically the modern version of JavaScript, but has to be enabled explicitly because of backwards compatibility--also warns you about assigning a variable that hasn't been declared. Just shows that JavaScript really was influenced by Scheme :).


Ditto for Perl. And with modern Perl(s) this can be switched on with new language features using...

  use 5.010;  # or 5.012 or 5.014 and soon 5.016


Ah, thanks both.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: