This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Abstraction on your "Code View"
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
There is another war of the braces happening on the Groovy side of the house. It revolves around the need to have:
something.foo { ..... block
and not allowing:
something.foo
{ ..... block
I think that you should be able to use what you want. I also wish that we could get past some of the style issues. This always brings me back to the idea of having an IDE which shows code in "your view" of the world.
We can do that in a poor way:
Always convert from other format to YOUR FORMAT when you open a file
Always convert from YOUR FORMAT to ProjectStandard when you save a file
However, that is hokey. It would be nice to not really do the conversions. There would be one 'standard' format which could be a project/company standard... but in fact it wouldn't matter as you would never see it (other than via 'vi'). The IDE would do the conversion on the fly, yet on disk it would look different. This abstract will of course come at a price (hard to implement... "look at line 5"... etc.).
However, I still wish that the New IDE could do items like this. It would fit into "Those who coded also coded", and collaborative coding, and much more. You would have your 'preferences' and whenever you look at code (e.g. in a web page) a ghoul would come along and make it look nice for your eyes.
Maybe you could even say 'hide the damn ; or at least put them in with tiny font' :)