• Post Reply Bookmark Topic Watch Topic
  • New Topic

Text Editor OR IDE  RSS feed

 
Mahe Singh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am beginner in java and i want to know which topics i should practice on text editor and which on IDE?


 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mahe Singh wrote:I am beginner in java and i want to know which topics i should practice on text editor and which on IDE?

Personally, I'd use a text editor for everything to start with, so you get used to writing programs correctly, and learn how the javac, java and jar commands (and other things, like classpath) work.

IDEs are great once you've got that stuff well embedded, but if you start out with them you may never learn the basics, because they hide a lot of stuff from you.

My 2¢.

Winston
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also agree with Winston.
use Text pad at initial stage. Then move to any IDE (Eclipse or NetBeans ) later on.
 
Tim Cooke
Marshal
Posts: 4051
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another agreement from me.

Starting out it's well worth keeping it simple with your favourite text editor and the command line. As Winston says, IDE's are great because they hide all those complexities away from you but you need to know what those complexities are first.

Abhay Agarwal wrote:Eclipse or NetBeans

IntelliJ IDEA is my favourite Java IDE. The refactor tools are far superior.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree with the others above.

When you are starting learning Java, it's best to use a simple text editor and compile and run your program from the Windows command prompt. Oracle's Hello World tutorial shows you how to do that step by step.

An IDE is great, and it helps you to be productive as a programmer, but an IDE has many functions and concepts you need to learn before you can use it effectively. For example, if you start with Eclipse (one of the most popular Java IDEs) you'll have to learn how it organizes projects, what perspectives are, etc. If you are learning Java from the beginning and you also have learn at the same time how the IDE works, you'll have to learn too many things at once, which will make it more difficult.

So, first learn the basics of Java using simple tools and then have a look at using an IDE.

For a simple text editor, you can use Notepad that's included with Windows, but it's perhaps a bit too simple. There are better, free text editors, such as Notepad++ or TextPad, that give you syntax highlighting for Java.

The most popular IDEs for Java are Eclipse (free), NetBeans (free) and IntelliJ IDEA (free community edition). I've been a long-time Eclipse user, but since last year I've been using IntelliJ IDEA and for many things I find it better than Eclipse.
 
Tushar Goel
Ranch Hand
Posts: 934
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

By using IDE from beginning makes the programmer handicap. Because you will not able to understand how compiler and java tools works. Also by using this you will not learn the common mistakes like missing parentheses , commas and errors and which class having which methods and several other things(as you do all these typing yourself). But IDE does all these things automatically you will loose language charm.

IDE is helpful when you have done enough practice on text editor like notepad, textpad etc..
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

To add to what Jesper said: Microsoft Notepad has some annoying habits, one of which is adding .txt to the name of your file, so I recommend you avoid it. Another editor which is supposed to be good is Crimson editor.
To help with the errors Tushar Goel mentioned, look here for some options to set, and read the strange link about writing backwards.
 
Mahe Singh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i guess, i must start with textpad. thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!