From: Wolfgang Denk Date: Mon, 24 Mar 2003 09:50:02 +0100 Subject: [U-Boot-Users] [RFD] Consistent debugging output structure In-Reply-To: Your message of "Mon, 24 Mar 2003 08:44:21 +0100." <200303240844.21463.h.schurig@mn-logistik.de> Message-ID: <20030324085007.CDF2EC58BA@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <200303240844.21463.h.schurig@mn-logistik.de> you wrote: > > In U-Boot, I have the perception that things happen differently. You say "new Right. U-Boot is less complex, it has different targets, and I'm not Linus ;-) > So, basically it's a tradeoff. Have clean code and pain. Or have not-so-clean > code, possible with overhead, and less pain. Right. To make this clear: I am not against cleaning up code in general. BUt I don;t think it is something that is so urgent that we should do it now in all source files. The disadvantages (like dropping stability) are IMHO bigger than the advantages. Let's perform such cleanup whenever we notice it in existing coe we touch for other reasons (i. e. functional changes). I would also like to point out the there are cases where an alternative approach perfectly makes sense: Compare: ---------------------------------------------------- #ifdef DEBUG for (i=0; i