From: Marcelo Alvim Date: 2006-08-25T04:02:36+09:00 Subject: Re: Code beautifiers, anyone? > Kyrre Nyg�rd wrote: > > There's a lot of messed up tools out there. Companies with flashy > > websites just doing this for the money. So apart from the bullshit, > > I've managed to spot out the Ruby Beautifier and GNU Indent as two > > worthy code beautifiers. However I get the feeling they are more > > complex than they ought to be, and if less is more, my search will > > have to continue. On 8/24/06, Justin Collins wrote: > a.each {|item| ... } > or > a.each { |item| ... } > ? Which is right/better? Depends on who you ask. > Yes, that is probably a problem for someone who wants to create a code formatter/beautifier. Eclipse's one (for java) is a very good and configurable one, IMHO. Maybe you should take a look at it. Of course, not to include ALL of the features it has (we already learned that sometimes convention is better than configuration, right?), but to see what they let you configure. Maybe it can help you figure out what is good to let the user configure and what is better to let as a convention. Good luck! Alvim.