Posted Dec 9, 2008 13:12 UTC (Tue) by khim
In reply to: PHP has some unique properties?
Parent article: PHP 5.2.7 withdrawn
That's two cases I knew as well. But in both SQL and C disaster is
localized: in SQL you can use "NOT NULL" mark to make sure there will be no
NULL in the column, in C you can avoid floating point altogether (and
floating point numbers are anomany in many other reasons). In PHP there are
no simple rule to avoid this.
Actually all languages can be marked as "nice", "bad, but unavoidable"
and "bad AND avoidable". Python and Java are first (they do have problems
surprises but almost impossible to avoid in practice) and PHP is in the
to post comments)