[E-Lang] Hydro & E: Update Syntax
Dan Bornstein
danfuzz@milk.com
Thu, 22 Mar 2001 13:38:30 -0800 (PST)
Bill Frantz writes:
>The description goes on to say that:
>
>1 + 2 + " fiddlers" ==> "3 fiddlers", while
>"fiddlers " + 1 + 2 ==> "fiddlers 12".
I got caught by this about a week ago. One of my projects at work is
a small webserver that gets embedded in other systems (e.g., for reporting
status). A small "optimization" I made was the following transformation:
// int code; String text
String msg = code + " " + text;
=>
String msg = code + ' ' + text;
I was momentarily surprised when I started seeing messages of the form:
436Document Not Found
-dan