[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

21166: RE: [MUD-Dev] DAoC dev team (was: MMORPG Comparison (UO, EQ, AC, AO, DAoC))

[Full Header] [Plain Text]
From: Brian Hook <bwh@wksoftware.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 19 Oct 2001 20:38:54 -0700
References: [1]
Organization: Kanga.Nu
At 09:34 PM 10/18/01 -0700, John Buehler wrote:

> Big variable names don't result in big executables, ya know?  :)

I find it fascinating when a programmer complains that long variable
names are difficult to type.  I don't know about others, but I spend
at least 95% of my time thinking about what I'm doing and 5% of my
time typing.  Those extra 10 characters per variable name don't
exactly slow me down.

> Code that is highly optimized for specific reasons is another
> issue.  Comment that in the parts where you had to go
> non-intuitive for performance reasons.

Sure -- more generally, when there is a piece of code that is not
intuitive and simply CAN'T be made more intuitive.  For example, the
code I have that does a very fast reciprocal square root
approximation using direct twiddling of the FP bits.  NO ONE
understands that code -- myself included -- with or without
comments, so you'd better put a comment in there that at least
explains that you're not supposed to understand it =)

Brian

_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev