The Artima Developer Community
Sponsored Link

Java Buzz Forum
IDE Feature: Show me a paired down view of staticly typed code

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
IDE Feature: Show me a paired down view of staticly typed code Posted: Aug 6, 2004 8:26 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: IDE Feature: Show me a paired down view of staticly typed code
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
I love IntelliJ IDEA, and Eclipse is good too. Tools such as these are so good that I often here: My IDE takes care of the verbosity of Java This sounds great. However, it is only really helping in the WRITE stage of your development. Sure, it is great that you can say "Give me a New Foo Pattern" and a tool can then create 2 interfaces and 3 implementation classes that make up that pattern. The problem is that we aren't getting as much help in READING the application, and it makes it complicated to understand. Java has a lot of noise that is muddled into the meat of the logic. Take the examples from James and Rod's Groovy presentation at JavaOne: Java public class Filter { public static void main( String[] args ) { List list = new java.util.ArrayList(); list.add( "Rod" ); list.add( "James" ); list.add( "Chris" ); Filter filter = new Filter(); List shorts = filter.filterLongerThan( list, 4 ) for ( String item : shorts ) { System.out.println( item ); } } public List filterLongerThan( List list, int length ) { List result = new ArrayList(); for ( String item : list ) { if ( item.length() Groovy list = ["Rod", "James", "Chris"] shorts = list.findAll { it.size() I find it a lot easier to grok what is going on in the second example. One IDE feature that could potentially help, is if I could click on an icon/hit a keystroke which ran the function: "Hide Fluff" This would hide a lot of the modifiers (public/private/etc) and the static typing. It would all of course be there, and the IDE can make use of that, but it would enable a view on your code which is more of the meat.

Read: IDE Feature: Show me a paired down view of staticly typed code

Topic: Jython Inventor To Join Microsoft Previous Topic   Next Topic Topic: [Jul 28, 2004 15:39 PDT] 3 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use