| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: #defines |
So to Roy McNeill do I speak these words:
Saturday November 30 1996 23:36, Roy McNeill wrote to steven pasztor:
RM> Obfuscation can be done in any language. Politicians do it every
RM> day in English. The easiest way to do it in a computer program is to
RM> omit comments, the second easiest way is to use meaningless
RM> variable names. For example, programs in Basic can become difficult
RM> to read when one and two letter variable names are used (a
RM> requirement in some limited Basics).
hehehe I know... I used to be rather unimaginative in my variable names
back when I used AmigaBASIC... It built a table of all the variables
created, and didn't purge any until you quit and restarted, so I tried to
re-use variable names wherever possible. Very stoopid, but hey, it was a
good six or seven years ago now... I've grown out of those habits these
days. It's a phase every programmer goes through, unless they've been
taught by someone. I didn't even have books to learn from back then, the
only ones I ever had were too technical to bother with the little things.
Still doesn't explain why that word's so darn common in here! Those
unusual people like me with my 10s memory, have trouble retaining all these
otherwise uncommon words (that's why I hated chemistry so much!).
Strangly, I've learn't that one off by heart quite quickly, since I've been
in here... :-)
sp>> Say, anyone good at explaining how to do that inheritance thing?
sp>> (I'm
RM> Crash course in C++ inheritance:
And a very nice one it was too!
RM> /* example class implementation */
RM> Base B1(20);
RM> Derived D1(25,4);
RM> /* end */
Now, one thing I don't think you addressed (or maybe it's just that I'm
reading this in the early hours of the morning again):
int StuffMe(Base *Goo)
{
return Goo->ask3();
}
can we pass D1 to StuffMe? I tried, but failed. Maybe I just did
something stoopid...
nevets
... Build a vast arena, then put a half-vast team therein.
--- FMailX 1.02
* Origin: HELP!!! (3:632/103.123)SEEN-BY: 50/99 620/243 623/630 632/103 107 271 348 360 601 635/503 544 728 SEEN-BY: 639/252 711/409 410 413 430 808 809 932 934 712/515 713/317 714/906 SEEN-BY: 800/1 @PATH: 632/103 348 360 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.