|
Boost : |
From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-12-17 02:34:43
>From: "Paul Mensonides" <pmenso57_at_[hidden]>
> From: "David Abrahams" <dave_at_[hidden]>
>
> > >> I understand what you're saying, but I think "inline if" doesn't
> > >> reflect what it's doing and IIF is still not memnonic.
> > >
> > > It ultimately from (don't laugh) VB's version of the ternary
> > > operator--called "iif."
> >
> > Ha har hee hee ha har hee hoo hahaha har hee hee ha har hee hoo hahaha
> > har hee hee ha har hee hoo haha har hee hee ha har hee hoo hahaha har
> > hee hee ha har hee hoo haha har hee hee ha har hee hoo hahaha har hee
> > hee ha har hee hoo haha har hee hee ha har hee hoo hahaha!
>
> I've been converted. I swear! "When I was young, I had to walk to school
> in three feet of snow uphill both ways--and, worse yet, I had to program
in
> Visual Basic!" It doesn't get any more "wordy" than this:
>
> Public Function Sum(ByVal X As Long, ByVal Y As Long) As Long
> Sum = X + Y
> End Function
Actually, it does, if you use Pascal. Then you have to throw in
"begin"/"end" all over the place, as well, in addition to the above. :)
Man: "When I started, we didn't have these sissy windows and icons. All we
had was ones and zeroes. And sometimes we didn't even have ones."
Man: "I wrote an entire database just using zeroes."
Dilbert: "You had zeroes? We had to use the letter "o"."
Regards,
Terje
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk