[ Content | View menu ]

Archive for 'Languages'


Mark Mzyk September 14, 2008

Today’s title is a play off of Stuart Halloway’s current series of blog posts titled Java.next.  Stuart is focusing his series on the set of languages that run on the JVM and are looking to replace (or if not replace, then gain dominance alongside) Java. In the third part of the series, Dispatch, Stuart writes […]


Mark Mzyk August 26, 2008

I’ve mentioned before that I think programming languages should have a REPL (Read-Eval-Print-Loop). Unfortunately, PHP does not have one natively.  However, I just discovered that Facebook has opened sourced a REPL for PHP – so now you can test out your PHP code without needing to write and run a script. Working in Python, I’ve […]

PHP Insanity X

Mark Mzyk May 16, 2008

I’ll keep this insanity short and sweet. In PHP, if you have a define that you forget to actually define, it will default to true, not false. Why is this?  Because in evaluating the define, if PHP cannot find anything else to evaluate it to, it will evaluate it to a string literal, which always […]