Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: code style - my take

Re: code style - my take

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sat, 22 Feb 2003 23:37:29 +0100

Björn Stenberg wrote:
> Joaquim Carvalho wrote:
>
>> http://rockbox.haxx.se/docs/contributing.html says nothing about //
>> comments not being allowed.
>
>
> No, but it says "follow the code style of the file you are editing"
> and all our files use C comments exclusively.

Not entirely true. Quite a few // comments have escaped the Code Police.
Look in lcd.c, lcd-recorder.c and system.c. :-)


> Exactly. That's why we have defined a right way for Rockbox. Please
> follow it.
>
> You will not convince me to change the Rockbox coding style, so stop
> trying. Let's move on to more important things.
>

I agree. And I still think #ifdef is far better that /* */ to comment
out code. :-)

/Linus
Received on 2003-02-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy