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: Recorder experimental new UI, Sound Sliders and larger Tetris source code

Re: Recorder experimental new UI, Sound Sliders and larger Tetris source code

From: Robert Hak <rhak_at_ramapo.edu>
Date: Fri, 21 Feb 2003 16:14:53 -0500 (EST)

---quote---
p.s. What's the reason for you not wanting the // comments?
Are there any alternatives? (I like to have comments in my
code, I also like to be able to comment-out a block of code
without having to edit all the comment lines inside it)
---unquote---

Well // is generally accepted as a C++ism (and as such is not something we
want as stated in the contributing docs).

What I tend to do to comment out a large block for testing is to just
#ifdef around it. This also allows me to find the sections I have
commented out quickly. I hunt for the common string I use (ROB :) ) and
don't have to worry about missing a comment.

/Adi

+-- --- --- --- --- --- --- --- --- --- --- --- --- --+
| Robert E. Hak < http://phobos.ramapo.edu/~rhak > |

"Are you pondering what I am pondering Pinky?"
"I think so Brain, but you wear the pink tutu this time."
        - Pinky and the Brain
Received on 2003-02-21

Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew