Kevin Scaldeferri on 18 May 2003 21:24:01 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] GotW solutions out



On Saturday, May 17, 2003, at 02:24 PM, Christopher Smith wrote:

http://www.gotw.ca/gotw/086.htm

I don't know if any of you guys still read GotW stuff, but the latest set of solutions proved to me that there are far more subtle bugs out there than the problem I was talking about before. Even knowing these were trick questions I have to say I was pretty much blown away by problem #86.

--Chris "I will have to study my digraphs and trigraphs" Smith



Ugh... that's just evil. I have to confess I'd never encountered this "feature" of the language before and even after reading the justification for it's inclusion it seems like a really bad idea. Besides the potential for subtle bugs like this, it seems almost pointless. I mean, aren't people who can't figure out how to type \,~,|, etc pretty crippled already? Whether you use Windows or Unix, it seems like you need those characters.

Also, I'm trying to think why \ needs to function as a continuation character in a language which isn't sensitive to whitespace. In fact it seems like the _only_ function of it is to enable subtle bugs of the single-line-comment-isn't variety.

_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp