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.
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.
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.