|
|
Slime wrote:
> This is the second time you've mentioned that example, so I
> assume someone once showed it to you and thought they were being clever.
> They weren't! Or maybe it's just a popular example, because I was just
> reading a book about coding style last night that gave that as a bad
> example.
More like, "it's the only bit of C that I know". (I'd use an example of
printf() or something, but first I'd have to find an example that's
actually *correct*...)
Both C and C++ are positively *bursting* with features that are subtle,
counter-intuitive and cryptic. This isn't exactly news. C++ at least
appears to be something of an improvement in this regard...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|