LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-08-2005, 10:13 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question Optimal Java/C editor and learning resources


Hello all,

As I move through CS classes in college, I'll next be getting to Java and then C. I'd like to plan early and start getting used to the system I'll be using to code/compile, so I thought I'd post here and see if people have recommendations. This isn't a tell-me-the-best-one-now post as there are clearly several options, but I wanted to explain where I'm coming from and see if someone can point me in the right direction.

This semester I'm doing Lisp in Emacs, which, as I understand it, has clear advantages as Emacs is based around a variant of Lisp and the two integrate so well. I've always used Vim for working with config files and simple text files, although I've never gotten comfortable enough with it to be able to do much more than that. For something like programming, I feel like there's a lot of moving back and forth, adding a few characters here and there, and moving somewhere else, whereas much of the Vim work I've done has been moving to a line, inserting a new line, typing some text, and saving.

I've been searching around and it seems there are quite a few IDEs for this sort of thing, although (correct me if I'm wrong), it seems like they don't provide the same navigational flexibility as Emacs/Vim, and Emacs/Vim can replicate almost all their features with some work. I guess my first question is whether an IDE is something I should look into and what kind of pros/cons they have.

Assuming that's the case, I guess we're down to Emacs and Vim, and I'd rather avoid posing a question like that. I've always had a sort of draw away from Emacs to Vim, but does Vim really work as something you can use to code for long hours? It seems that the whole concept of editing modes results in a lot of escapes (which I already have bound to Caps-[, but still), and isn't well suited for something where almost all your editing consists of going back and making many small changes in different places. The Emacs ctrl-A and ctrl-E and modeless system have felt more comfortable to me (much more comfortable than something so out of reach as $ in Vim) for that kind of work.

Still, if others use and suggest it, Vim is really the way I'd like to go. If it's something you'd suggest, what tutorials, configurations, modifications, tips, etc. would you recommend, and what helped you get over the learning curve and the difficulties I described? If not, what would you recommend and why?

I apologize in advance for the long post, but I'd like to put some thought in before I set in stone the editor I'll be using for the next year (and, I assume, will continue to use after that).
 
Old 11-08-2005, 11:02 PM   #2
urticadioica
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
Let's not get involved in this flamewar! I use vim, and I love it, though I'm certain if you got involved in either vim or emacs, you'd feel more comfortable. If you the tricks of either editor, you'll be amazed how useful they are. You can start out with something like this for vim:

http://www.vim.org/tips/tip.php?tip_id=305

I feel the same way about IDE's as you; I don't find them particularly useful, and they have lousy editors. I feel very productive running vim in a an x terminal, with GNU screen.

Hope that helps.
 
Old 11-09-2005, 12:27 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,225

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Yeah, I've used vi & vim for years at work, inc some very substantial progs/projects.
Once you get into it, it's fine.
Definitely get the full install with colour syntax highlighting.
Have a read of the tutorial that comes as part of the vim install, either externally or from within vim itself.
However, use the editor you prefer.
For general availability on any Unix style OS (Unix/Linux/*BSD), I'd stick with one of those 2.
In particular, vi is part of the default install in commercial Unices.
Also very lightweight for using over long/noisy connections.
 
Old 11-09-2005, 09:22 AM   #4
kmisfit
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
Java IDE

As you mentioned you'll be getting to Java, I am not sure about vi, but Emacs java mode is pretty good.
However, if you plan to do something sofisticated, I'd recommend a specific Java IDE such as Eclipse. It makes Java programming the easiest thing, with refactoring and code generation. It's bundled with JDT compiler that makes the compilation process transparent to the programmer. Eclipse has Emacs-mode for the key scheme BTW. But it has a downsize: it can make you dependent on it in a point that you'd forget how to do anything without it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OPEN LDAP learning resources... amitsharma_26 Linux - Networking 4 09-29-2005 07:18 AM
Learning Java davholla Programming 9 03-13-2005 03:13 PM
Learning Linux resources? bruce205 Linux - Newbie 4 08-27-2004 06:56 PM
java /proc (getting system resources) jinics Programming 1 08-26-2004 05:55 AM
Good resources for learning Red Hat rodda Linux - General 2 05-01-2002 04:59 PM


All times are GMT -5. The time now is 02:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration