Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / June 2007

Tip: Looking for answers? Try searching our database.

vi vs. vim vs. emacs vs. ????

Thread view: 
JT - 16 Jun 2007 02:54 GMT
I've decided to step back from the IDE and start learning/re-learning
Java without the aid of Eclipse or Netbeans.  I want to learn about
packages and such without having an IDE do all the work for me.

So my question is, what's the best editor on a *nix platform?  I am
somewhat familiar with vi and emacs so I'm trying vim out as my Java
editor.  Are the others that are better or is a vi* editor a good choice.

Not flame bait..just looking for some honest opinions.
hiwa - 16 Jun 2007 11:18 GMT
> I've decided to step back from the IDE and start learning/re-learning
> Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 5 lines]
>
> Not flame bait..just looking for some honest opinions.

I love Vim because it, its basic command system, enables fast code-
writing.
hiwa - 16 Jun 2007 11:21 GMT
> I've decided to step back from the IDE and start learning/re-learning
> Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 5 lines]
>
> Not flame bait..just looking for some honest opinions.

The GUI version of Vim is gvim, which is convenient on modern PC and
workstations.
Lew - 16 Jun 2007 15:29 GMT
> I've decided to step back from the IDE and start learning/re-learning
> Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 5 lines]
>
> Not flame bait..just looking for some honest opinions.

Of cooourse not - you've only just asked /the/ classic flamebait question:
<http://en.wikipedia.org/wiki/Editor_wars>

Have you heard of imprinting?
<http://en.wikipedia.org/wiki/Imprinting_%28psychology%29>

Try both vi[m, etc.] and emacs (but not XEmacs).  See which one fits you
better.  Then vilify everyone who made the other choice.

I like emacs myself, but they're both horrid.  I use vien as needed - it's
slightly more prevalent and much less bloated.  Still, I like emacs,
especially the built-in therapist.

Signature

Lew

printdude1968@gmail.com - 16 Jun 2007 17:15 GMT
> > I've decided to step back from the IDE and start learning/re-learning
> > Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 21 lines]
> --
> Lew

Replying from GG....   WTF is that imprinting business about  :-)

I'm seeing a trend in the IT/IS industry that seems to be heading
towards simplicity.  Rather than using
elaborate websites to convey information, we have an abundance of
wiki's which both present information and allow
for collaboration....  While MS seems to be making things more
complicated, I don't see things going that way for people who
are working with code on a day-to-day basis.  While IDE's make things
easier, I've heard on many occasions that for someone starting to
learn a new language (i.e., Java) it's better to start with the
basics, a text editor and a commandline.

Unfortunately, it is often essential to use an IDE (ie. Matisse for
Swing apps in Netbeans) for the simple reason that it would take x
times as long to
a) learn how to write the code
b) actually write the code and get it to work

With an IDE like Matisse, you are basically guaranteed to have a
working app, until you start adding things to the base system... but I
digress

I took two courses in Java Programming at our local community college
and for some reason, the instructor had us using Eclipse rather than a
command line.  So our ability to succeed in the course was partially
based on being able to use the IDE.  IMHO this is a bad move.  To
learn a language, one needs to start at the basics.  For someone like
me who came from a command line environment, to be suddenly thrust
into an IDE environment was something of a culture shock.

This is why I am going back to basics (not the language), hence my
question.  I apologize if this has been discussed and argued before,
but over time, people's opinions do differ so the editor of choice for
Joe Q. Public 2 years ago may not be the same today.
Lew - 16 Jun 2007 17:30 GMT
Lew wrote:
>> Have you heard of imprinting?
>> <http://en.wikipedia.org/wiki/Imprinting_%28psychology%29>

> Replying from GG....   WTF is that imprinting business about  :-)

It explains why people prefer vi over emacs or v.v.

Signature

Lew

printdude1968@gmail.com - 16 Jun 2007 17:53 GMT
> Lew wrote:
> >> Have you heard of imprinting?
[quoted text clipped - 5 lines]
>
> --

> Lew

I remember using Xedit on an old mainframe, and going back even
further... Wordstar...
I was first introduced to emacs during my first job out of university
and I loved it.  That's why
one of the first things I do when ever I get a new PC is to install
emacs

ftp://gatekeeper.dec.com/pub/GNU/windows/emacs/21.3
Malcolm Dew-Jones - 16 Jun 2007 21:21 GMT
: I've decided to step back from the IDE and start learning/re-learning
: Java without the aid of Eclipse or Netbeans.  I want to learn about
: packages and such without having an IDE do all the work for me.

: So my question is, what's the best editor on a *nix platform?  I am
: somewhat familiar with vi and emacs so I'm trying vim out as my Java
: editor.  Are the others that are better or is a vi* editor a good choice.

: Not flame bait..just looking for some honest opinions.

pico  or  nano

both extremely simple, the unix equivalents of notepad.  Too simple for
paid programming work, but you won't spend any time figuring out how to
use them.

$0.10
chand0s - 22 Jun 2007 18:42 GMT
> I've decided to step back from the IDE and start learning/re-learning
> Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 5 lines]
>
> Not flame bait..just looking for some honest opinions.

I use the jEdit.
Roedy Green - 23 Jun 2007 11:56 GMT
>I've decided to step back from the IDE and start learning/re-learning
>Java without the aid of Eclipse or Netbeans.  I want to learn about
>packages and such without having an IDE do all the work for me.

This won't teach you anything more about Java. It will just slow you
down.  The only time that makes sense is when you a first learning and
you don't want to be overwhelmed with both the rules of Java and your
IDE.

But I suppose there is  hairy chested pride in making your programs
from hand-chiseled bits.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
printdude1968@gmail.com - 23 Jun 2007 23:46 GMT
On Jun 23, 7:56 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:

> >I've decided to step back from the IDE and start learning/re-learning
> >Java without the aid of Eclipse or Netbeans.  I want to learn about
[quoted text clipped - 10 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com

My Fellow Canadian... I respectfully disagree.  Already, after only 1
week away from the IDE world, I have learned much that I did not
know.  By employing ant to do my compiles and builds and emacs to edit
code, I have learned more about classpaths than I did before.  You
see, my ant build.xml compiles into ../build  So if I have a class
Widget.java which creates an instance of fooBar, the fooBar.class has
to be on the classpath, or Widget.java will not compile.  In the IDE
world, all of this was taken care of for me.  While it may not have
taught me about layouts and methods, the knowledge I have gained on
the inner workings will be valuable in the future.
Roedy Green - 29 Jun 2007 01:44 GMT
On Sat, 23 Jun 2007 15:46:36 -0700, "printdude1968@gmail.com"
<printdude1968@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>My Fellow Canadian... I respectfully disagree.  Already, after only 1
>week away from the IDE world, I have learned much that I did not
>know.  By employing ant to do my compiles and builds and emacs to edit
>code, I have learned more about classpaths than I did before.  You
>see, my ant build.xml compiles into ../build

Ant builds are not java, neither strictly speaking are classpaths.

Your JAVA programming skill won't improve.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.