• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IntelliJ scares me

 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I try whenever possible to do "programming by intention." This is where you write code "as if" other methods and member variables you need to use already exist, and then go back and define those other methods. An IDE like IDEA helps a lot with this, as you can generate a skeleton of an undefined method with just a keystroke.

Just now I was writing a client of a second class that maintains an internal collection that grows and shrinks at the end. I wrote the client, then went to the other class to define the methods I had called. I did the implementations of those by intention too, all using a single member variable that held a collection. The code called add(), get(), and removeLast() on this undefined member. I then hit the keystroke to define the member, and poof! It appeared, and it was a LinkedList! The perfect data structure for the application, with all the necessary methods already defined.

IDEs are so smart these days it's scary.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am more and more impressed with IntelliJ IDEA every day I use it. I would say for an Advanced Editor it doesn't get any better.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree, and I find IntelliJ more intuitive than others, especially in figuring out what you are trying to do.

I love the Clearcase integration.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic