It's a shortcut people take to debug stuff. It's not really a Perlism, as much as a sloppy-framework-ism. The environments files will automatically give you that same conditional execution, so explicitly specifying it is an error. People do it even though they know they shouldn't. It's the running a red light of Rails.
Are you a hacker who likes to make music? You know how you feel precise control when you write code you understand, but you have to filter your understanding of your music through oversimplified GUIs which sometimes have terrible UX? I made a series of videos which teaches you how to write music sequencing software in Node.js and CoffeeScript. When I do it, I experience a clarity which makes it easy for me to make more exciting sounds. You may have the same experience. Upcoming episodes will also teach you how to use simple probabilistic artificial intelligence to write code which writes its own music (which I've already done in Ruby).
That looks like bad habits from perl.
ReplyDeleteThe problem with learning new languages is the old languages you already know.
It's a shortcut people take to debug stuff. It's not really a Perlism, as much as a sloppy-framework-ism. The environments files will automatically give you that same conditional execution, so explicitly specifying it is an error. People do it even though they know they shouldn't. It's the running a red light of Rails.
ReplyDelete