Re: When *Not* to Use an IDE
Thanks Kevin! :D I will try to code with out Eclipse. Although I have compiled one or two programs using cmd, I will miss auto-formatting and syntax highlighting. I will show it to the group and see what they say.
Thanks again. :)
-Mel
Re: When *Not* to Use an IDE
I was one of those programmers who did start out with an IDE, but I do consult the API docs a lot, and tested/debugged even more. Learning to debug code well is in my opinion the most valuable assets any programmer can have, which really is the defining feature of an IDE for me.
Reading the API docs comes in second because I have encountered times where the API docs either aren't clear on the behavior, or are just down-right wrong. Also I want to be able to see what a certain API function does for myself and how to apply that API function to accomplish a set task.
Re: When *Not* to Use an IDE
Good to hear i'm new to Java and already a step ahead of people you work with!
Hahaha
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Melawe
Thanks Kevin! :D I will try to code with out Eclipse. Although I have compiled one or two programs using cmd, I will miss auto-formatting and syntax highlighting. I will show it to the group and see what they say.
Thanks again. :)
-Mel
I should have made this more clear in the original post, but things like jEdit will do auto-formatting and syntax highlighting for you, without any of the extra bells and whistles. I use jEdit and the command line for most of my Java EE stuff, at least for now.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
helloworld922
I was one of those programmers who did start out with an IDE, but I do consult the API docs a lot, and tested/debugged even more. Learning to debug code well is in my opinion the most valuable assets any programmer can have, which really is the defining feature of an IDE for me.
Reading the API docs comes in second because I have encountered times where the API docs either aren't clear on the behavior, or are just down-right wrong. Also I want to be able to see what a certain API function does for myself and how to apply that API function to accomplish a set task.
I should have also made this more clear in the original post as well, but this was just my approach, and it seems to have worked for me. I have seen other people really handicap themselves by taking what they see as shortcuts, because in the long run they missed out on a lot of what makes a person a better programmer.
But other people might have taken different, and completely valid, approaches as well. I only made the post because melawe requested that I do so- in the end, it's up to each person to figure out which approach is best.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Emperor_Xyn
Good to hear i'm new to Java and already a step ahead of people you work with!
Hahaha
To be fair, the people I was talking about were people I went to school with, not people I work with. In my senior year of college, it really shocked me how little my peers knew about programming- and I think a lot of that was from relying too much on IDEs to do their work for them. Most of the people I work with are old school C programmers who do everything in emacs or vim, haha.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
KevinWorkman
I should have also made this more clear in the original post as well, but this was just my approach, and it seems to have worked for me. I have seen other people really handicap themselves by taking what they see as shortcuts, because in the long run they missed out on a lot of what makes a person a better programmer.
But other people might have taken different, and completely valid, approaches as well. I only made the post because melawe requested that I do so- in the end, it's up to each person to figure out which approach is best.
True, and it's not like I never learned how to use a simple text editor/command line. It's a valuable skill to learn no matter which you prefer because it helps you understand what happens behind the hood in the build process, especially with classpaths and jar manifests.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
helloworld922
I was one of those programmers who did start out with an IDE, but I do consult the API docs a lot, and tested/debugged even more. Learning to debug code well is in my opinion the most valuable assets any programmer can have, which really is the defining feature of an IDE for me.
Reading the API docs comes in second because I have encountered times where the API docs either aren't clear on the behavior, or are just down-right wrong. Also I want to be able to see what a certain API function does for myself and how to apply that API function to accomplish a set task.
The debug button is one thing I haven't figured out yet. When I did adventure and click the button, nothing happened. :/
Quote:
Originally Posted by
KevinWorkman
I should have made this more clear in the original post, but things like jEdit will do auto-formatting and syntax highlighting for you, without any of the extra bells and whistles. I use jEdit and the command line for most of my Java EE stuff, at least for now.
Yea I know, but I will use on Notepad since I find it very hard to read code with out syntax highlighting. On the plus side, I wont install anything. :D I find auto-complete takes more time than typing, but I like the short descriptions it has.
-Mel
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Melawe
The debug button is one thing I haven't figured out yet. When I did adventure and click the button, nothing happened. :/
-Mel
Debug mode runs as "normal" (actually, it runs slower because it's an un-optimized build, but that's besides the point) until it hits a debug point. If you don't set any debug points, it won't break to let you debug step by step, inspect variables, etc.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
helloworld922
Debug mode runs as "normal" (actually, it runs slower because it's an un-optimized build, but that's besides the point) until it hits a debug point. If you don't set any debug points, it won't break to let you debug step by step, inspect variables, etc.
Sorry but I don't know what you mean. The only thing I understand about debugging is that it spots bugs, or gets rid of them. Thanks for trying to help, much appreciated. :)
-Mel
Re: When *Not* to Use an IDE
Hmm, how can you send arguments to a java program? They don't accept cmd arguments.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Melawe
Hmm, how can you send arguments to a java program? They don't accept cmd arguments.
Command-Line Arguments (The Java™ Tutorials > Essential Classes > The Platform Environment)
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
copeg
Thanks! I read that Java programs don't accept cmd line arguments somewhere; and when I tried it, I was typing arguments after I run it, so the arguments where never sent to the program.
-Mel
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Melawe
Sorry but I don't know what you mean. The only thing I understand about debugging is that it spots bugs, or gets rid of them. Thanks for trying to help, much appreciated. :)
-Mel
The only thing a debugger lets you do is examine the code line by line as it's being run. It doesn't spot bugs or get rid of them automatically, but it does make it easier for you to figure out the flow of a program. But in order to do that, you have to tell the program where to pause and let you take control.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
Melawe
Thanks! I read that Java programs don't accept cmd line arguments somewhere; and when I tried it, I was typing arguments after I run it, so the arguments where never sent to the program.
-Mel
Either way works- you can pass the command line arguments into the program, or you can read them in after the program starts running using something like the Scanner class.
Re: When *Not* to Use an IDE
Quote:
Originally Posted by
KevinWorkman
Either way works- you can pass the command line arguments into the program, or you can read them in after the program starts running using something like the Scanner class.
Ah, thanks. I haven't done anything with that class yet, the closest thing I've done was a program that reads from the console. Not hand made though, it was an example in a book.
-Mel
Re: When *Not* to Use an IDE
Ah, about the last paragraph: I've heard about these Gui Builder thingies but I don't try to use 'em. I don't know how to use one, or what one even LOOKS like, but I'm pretty sure it just does all the work for you.
I believe people should stay away from Gui Builders, and stick with normal code. I don't know, but if I used a GUI Builder to make JTextEditor, my very own program, it would probably be a nightmare debugging, lol.
I just use IDEs so I can easily read code with syntax highlight, and for some reason compiling in Terminal (Mac) doesn't work. =/
When I was a beginner I didn't really use those options in Eclipse, I tried to memorize how to write the main method, which took a while, believe it or not. I first used Netbeans, but it was really complicated and stuff, creating classes threw me off...
Creating a new .java file and writing
is pretty easy.