News for hackers. Stuff that matters.
Re:My Reality Moment. Why did I ever agree to do this? by adrusi on Friday September 18, 2015 @08:59PM (#10242883)
It's quite bad, and that's been pretty universally agreed upon, but back in the 90s we didn't think it would be too bad. It turns out in javascript it isn't actually that bad because you can write out a short list of very unambiguous rules to completely avoid loose-typing issues. And virtually everyone except people who just picked up the language follow these rules religiously.

My impression is that in PHP-land it's very hit-or-miss. Some developers adhere to strict guidelines to avoid these kinds of problems and others don't.

Perl programmers generally avoid loose-typing when writing libraries and larger programs, but not while writing scripts for personal use, which I think is a pretty reasonable attitude to have.

Re:My Reality Moment. Why did I ever agree to do this? by MichaelGG on Friday September 18, 2015 @10:09PM (#10243030)
Eh I don't know if you can blame it on the 90s. I remember using VB and being utterly paranoid because I had no idea what it might end up doing in the name of being helpful.