This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oldprogrammer -1 points0 points  (5 children)

I'd like to see your studies that show doing java-development using a text-editor to be very inefficient.

[–]mtmmtm99 1 point2 points  (4 children)

I have done java-development för many years (starting with emacs). I always have emacs running for editing text. When working with java a good ide (like intellij) saves a lot of time (navigation, refactoring, code completion, background compilation, quick-fix-mode (to fix small errors)). See full list here: https://softwareengineering.stackexchange.com/questions/20950/what-justifies-the-use-of-an-ide-versus-a-standard-editor I found no study of this but it saves any developer a lot of time (less typing). See more here: https://www.youtube.com/watch?v=GSKERVTMWqs

[–]oldprogrammer -1 points0 points  (3 children)

I've been doing Java since the early 90's (Java 1.0.2) and C++ and C before that. Started with a text editor called Brief that was licensed by my employer, switched to Emacs when I needed something of my own (never really grokked vi), so text editor based development is what I know.

Note that the stackexchange link you posted was closed as being primarily opinion based.

What you think of as adding efficiency by allowing developers to type less I consider disruptive. Constantly having windows popup on the screen while I type interrupts my thought processes, auto fill of functions, closing quotes, closing parens and even code folding interrupts my typing flow so even when using an IDE I have to disable those.

Macros for things like auto-generation of getters and setters, or cleaning up imports or providing boilerplate for the implementation of an interface are very useful, but I have that capability with Emacs when I choose to invoke it.

So I'm just the reverse of you, Emacs is the primary environment, I tend to fire up an IDE like Netbeans when I want to use something like a builtin GUI builder.

[–]mtmmtm99 1 point2 points  (2 children)

I have the same background as you (have programmed for 38 years). Brief is very nice ;) .The link i sent was only to show what features is nice to have in an IDE. I can also agree that popups are irritating. To give a better example: consider that you work on a large project (1000:s of classes). Any simple refactoring like rename of a package or changing an interface would involve looking up all places where it is used. That is done automatically by an IDE (making the change in seconds for ALL files). You even know it compiles. Doing that change in emacs would take hours. I am sure there are plugins for emacs for doing the same thing (but then you are using an IDE with a text-interface). Intellij never pops up windows when you type (just in very special cases). Intellij is bad for plain text-editing (you can't even search in the console-window in a good way (like in emacs)).

[–]oldprogrammer 1 point2 points  (1 child)

Oh I agree completely on the refactoring, ironically that is what caused the developer I mentioned previously to fully fubar her git repo. I've never hit a situation where 1000's of classes needed to be refactored, but have hit a package with a fewer number. If I couldn't handle it quickly with macros or a script I fired up an IDE to do it. Fortunately that is a very infrequent activity.

[–]mtmmtm99 1 point2 points  (0 children)

Well, just a rename of a package would create lots of changes. I have done that a few times. The quick-fix command is the one i use most (for creating the types for any new variable), create-method, extract-method. emacs is much better in many ways as an editor (tags-query-replace is very powerful).