s = ""
s << 0 # just great
s << 255 # still cool
s << 256 # `<<': can't convert Fixnum into String (TypeError)
Now imagine that the null character comes from the variable and only under certain conditions. And the string then passed further to some component which just happily assumes the string ended at that null character.
And I never liked that ASCII art method anyway. Probably wouldn't ever use it but many languages still suck at string concatenation.
-
Home
Pages
-
Categories
-
Tags
Blogroll
-
RSS Feeds
-
Meta