From: "Kyrre Nygård" Date: 2006-08-26T01:27:43+09:00 Subject: Re: Code beautifiers, anyone? At 19:38 24.08.2006, Justin Collins wrote: >Hi Kyrre, > >This topic has come up before...I see you found some projects >focused on this. However, while indentation is pretty important and >useful, most text editors will do this for you. That leaves spaces, >tabs, linebreaks, and those kinds of things. Unfortunately, there >are many times where people disagree about Ruby formatting. >For example, > >a.each {|item| ... } > >or > >a.each { |item| ... } > >? Which is right/better? Depends on who you ask. > >I know this is a simple example, but you will end up having to make >those kinds of decisions. >Just a caution, that's all. Good luck with your project. I'm not >sure what kind of help you wanted? > >-Justin Hello, Yes you are absolutely right. I have to put a lot of thought into decisions like that, and possibly convert the pieces of code into ontologies which I then visualize using modern 3D technologies to see which solution seems more semantic. I understand what you mean by your example. No matter what though, the most logical solution always wins. Forgive me if I'm wrong, as I'm not familiar with every premise that might come into play, but wouldn't be the latter be more correct? Thanks a lot Justin! All the best, Kyrre