|
Rockbox mail archiveSubject: RE: Coding conventionsFrom: Nielsen Linus (ext) (Linus.Nielsen_at_elema.siemens.se) Date: 2002-08-29
> if (arghCollision(headx, heady) >= 0)
OUCH! That was bad!
> I still don't know what "c++ism and Javaisms" are but I assume
Hehe. Those -isms are more than that. They are usually seen as attempts to
> Also I was told that global variables should be static. I have no
No, it's more about trying to avoid name collisions, and to not export
> Maybe I should learn c before writing code with it...
You're doing fine.
/Linus
Page was last modified "Jan 10 2012" The Rockbox Crew |