DragonFly kernel List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: learning dragonfly or C...
On Friday, 12. November 2004 01:28, Jonas Sundström wrote:
> One part of programming that could use a lot more effort is writing
> readable code, so that it actually makes sense to someone not familiar
> with it. (Or one self, a week later.) Choosing descriptive names for
> variables as opposed to names 1 or 2 chars long does a lot for
> readability. (Not meant as criticism of any code shared here.)
new non-random link:
<http://mindprod.com/unmain.html> good stuff, take it with a grain of salt
> BTW, do long/short variable names matter at all for performance in C
> and C++? And what about function- and class method names?
not for execution speed, a little bit for parsing speed (longer files),
nothing more, i'd say. oh yes: for typing. ATemporaryIntegerValue vs t...
maybe the linker needs more time to fix up references to functions with long
names, but that's really negligible.
cheers
simon
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]