Greg Cohoon (drmellow) wrote,
Greg Cohoon
drmellow

  • Mood:
  • Music:

unless keyword

The keyword I miss most when I'm not working in Perl is "unless." I also miss that you can't put the conditional for an "if" block after the statement -- especially when used with "unless" (i.e. "doSomething() unless (flag == true);") -- in languages that are not Perl.

In the past 3 years, I've probably only spent 15 minutes working with Perl. But I end up thinking about it almost every day when I wish I could either reverse the order of the conditional and statement or that I could use "unless."
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments