Strings, the shameful special cases
This post has moved to marnanel.org; click the title above to go there.
I'm Marnanel, and this is my blog. Well, sort of. It isn't timely like a blog, and I don't expect you to subscribe to the feed (though I won't complain if you do). Rather, treat it as a quick trot around my mind, a chat over a pint in the pub, assuming you'd be caught dead talking about software in the pub. You should start here.
This post has moved to marnanel.org; click the title above to go there.
Posted by marnanel at 12:06 am
Labels: basic, pascal, special cases, strings
2 comments:
As far as your point [1], you should remember that perl is equally guilty of that problem... consider functions like chomp() or especially exists() which sort of "implicitly" get a ref to the data which is passed-by-value by the caller.
I mention this only because I happen to know that you harbor more love for perl than for pascal.
Oh, don't get me started on perl's love for special cases :)
"In general, [Perl builtins] do what you want, unless you want consistency."
Post a Comment