r/learnjava • u/[deleted] • Jul 09 '16
Learning Java, is the superintelligent ide hamstringing my learning? (x-post r/learnprogramming)
I first started learning programming with CS50 and when learning C there really wasn't an ide for that, closer to a basic text editor. I'm learning Java right now and using Intellij. I'm wondering if it's intuitiveness, autocomplete, and other automated features might be preventing me from learning the basics. They always say repetitiveness is the way you learn, and I'm afraid that the ide is doing too much of the work for me. On the other hand, it's not like these types of features are going to disappear anytime soon, so they will always be "helping" me no matter how in depth I get into programming... Thoughts?
4
Upvotes
2
u/pokemaster787 Jul 09 '16
Some purists will tell you to write only in Notepad.
Don't do that.
We developed IDE's for a reason. They're hella useful and make development exponentially simpler, even just for typing simple things.
Understand the concepts and the general syntax. Java has a shitton of default classes and methods and you are not expected (nor should you try) to memorize them, the IDE does that for you. Don't remember a method name exactly, but you know it's in Math? Type Math. And a list of methods will pop up, starting with most to least used.
IDE's are helpful, don't torture yourself by writing in notepad and searching through the Java documentation all day long for that one method you need.
The IDE becomes an issue when you are just blindly allowing it to "fix" things for you. If the IDE gives an error, and a suggestion that fixes it, do not just accept the suggestion and move on with your life.
Understand why the suggestion works and yours doesn't. Look it up. Don't blindly use the IDE to write code for you, use it as a tool for your learning and development.