TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DAN MCGREGOR
from: SUNIR SHAH
date: 1997-07-22 00:37:00
subject: Sunir ventures into C++

To: Dan Mcgregor
Subject: Sunir ventures into C++
 SS> /* 1. Passing by reference */
 SS> void foo( int& HeyIMagicallyAlterYourVariableWithoutTellingYou )
 DM> It can be avoided.
Not if you buy a third-party library it can't.
 
 SS>     /* 2. Declaring data in random places */
 SS>     int HiIAmRandomlyDeclaredHere;
 DM> Well C++ allowes it.  Its up to the programmer to do it :)
And they will.  And then I'll have to maintain it.
 
 SS>     HiIAmRandomlyDeclaredHere = ButICannotFindWhereHereIs; // a=b
 SS>                                        /* 3. Assembly comments */
 DM> I like them actually...
But they don't mean anything!
 
 SS>     /* 4. C-style casts are outlawed as of the latest draft proposal */
 SS>     long bar;
 SS>      int baz = (long)bar;
 DM> Strange.  I use type casts all the time.  IE:
 DM> char *i;
 DM> i = (char *) malloc (30 * sizeof (char));
Well, this one I'm shaky on, but they're changing them to something like
one_of_n_standard_type_groups
Yes, I know this looks like a template.  I'll see if I read wrong... I
probably did. :(  :)
 
 SS>     /* 5. Weird new commands and stuff because I hadn't bothered to
 SS>     ** call ANSI to see what they threw in this morning.
 SS>     */
 SS>     CATCH TRY IAMAFISH THESE_ARE_ALL_VALID BECAUSEC++CHANGES EVERYWEEK;
 DM> Try and Catch are quite usefule exception handling things...
Yup... but IAMAFISH?  I mean Red Dwarf is a good show and all, but that's
going a little too far. ;)
 
 SS> No surprise. Borland is evil.
 DM> Not as evil as Micro-Soft.
Borland is crappier though.
SS
--- Maximus 3.01
---------------
* Origin: BitByters BBS, Rockland ON, Can. (613)446-7773 v34, (1:163/215)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.