Yeah, but the special handling is to use the string without calling it
first (or throwing an exception).

Old code:

if (function)
  call it
if (string)
  do nothing  // special case, don't call or throw
else
  throw

New code:

if (string)
  do nothing  // special case, don't call or throw
else
  call it  // will throw if not a callable
        • ... Arne Goedeke
        • ... Martin Bähr
        • ... Martin Bähr
        • ... Arne Goedeke
        • ... Martin Bähr
        • ... Arne Goedeke
        • ... Martin Bähr
        • ... Arne Goedeke
        • ... Martin Bähr
        • ... Martin Baehr
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Martin Bähr
  • Re:... Martin Bähr

Reply via email to