• Post Reply Bookmark Topic Watch Topic
  • New Topic

Best way to learn java - commandline or IDE?  RSS feed

 
Stefan Ackermann
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i want to beginn learning programming in java, and want ask you what is the best way?

when i was searching the internet for basic-tutorials, all people use IDE like eclipse or netbeans, i found openbooks where people only explain the language using the commandline, most people i ask say its better for me to use an IDE for best learning und understanding ... now im a bit confused.

Thanks for answers

Greetings from germany

Stefan

 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well using commandline and using IDE has its own pros and cons. if you use commandline you will be able to learn more , since there wont be any help from IDE. you will get many errors and in the process of resolving them you will be reaching new heights. but commandline has its own downsides. the default javac compiler error are note that detailed as IDE ones. so some error/exception will confuse you. on the contrary IDE messages are detailed. also using IDE you have at your disposal good debugging support , you can set breakpoints and check the flow of the program. the downside to IDE is that they spoonfeed you. they have autocompletion feature and they compile in realtime. so your gray matter will be less used. one thing you can do is to go the middle way. learn java using mix of IDE and commandline. or in my opinion the best thing would be to turn off the auto complete features of IDE. this way you will have good mix of both the commandline aspects and the IDE.
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree with Gurpeet, Command line to start with. Please search in this forum for lot of advices on using commandline over IDE and on best way to start learning Java.
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Command line. A lot of people get confused by the advanced and complicated features of an IDE and spend more time learning the IDE than learning Java.

And welcome to the Ranch
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some suggestions about running your first program here, and in our FAQ.
 
Ivan Jozsef Balazs
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Command line.


Yet another vote for the:

( Command line ) ++
 
Ankush Kaundal
Ranch Hand
Posts: 36
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in the start one should go with the command line so as to learn basic things about java such as syntax, package structures etc. and once you are confident enough about the basics then go for the IDE.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!