Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: c code "beautifier"

Author: Daniel Clausen

Date: 05:27:21 12/03/03

Go up one level in this thread


On December 03, 2003 at 06:46:45, Tord Romstad wrote:

[snip]

>I would have written the above code like this:
>
>if (ifClauseExample) {
>  for(forExample = 1; ;) {
>    if(oneLineIf)
>      shouldLookLikeThis(); }}
>
>Much more compact and readable, IMHO.
>
>Tord

And vi is better than Emacs! :o)

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.