LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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


View Poll Results: Which do you prefer IDE or Text Editor?
Text Editor 30 58.82%
IDE 16 31.37%
Other? 5 9.80%
Voters: 51. You may not vote on this poll

Reply
  Search this Thread
Old 11-10-2011, 05:00 AM   #16
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301

I use geany as both a text editor and an IDE ... so I'm not sure how to vote, maybe other.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-10-2011, 05:04 AM   #17
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by H_TeXMeX_H View Post
I use geany as both a text editor and an IDE ... so I'm not sure how to vote, maybe other.
+1, I do the same since I noticed geany loads faster than kwrite on my system
 
Old 11-10-2011, 07:31 AM   #18
asipper
Member
 
Registered: Oct 2011
Distribution: Fedora 17
Posts: 138

Original Poster
Rep: Reputation: 0
I want to change my poll from Other to Both. How would I do that?
 
Old 11-10-2011, 08:43 AM   #19
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
For a beginning programmer, a good IDE has the advantage of being able to provide a lot of help with matters of syntax and also knowledge of the standard functions/classes/subroutines. However, on the down side, it is often confusing to newbies whether a particular problem is based in the code they have written, or simply in the use/configuration of the IDE. Moreover, the IDE often conceals major parts of the software development process which are part of what you should be learning. This becomes an issue when you have to work on the code without the benefit of the training wheels provided by the IDE.
In Linux, I've only used the Eclipse IDE in any significant amount, and I find it messy to import and export software projects between it and a non-Eclipse environment. If I could shift seamlessly between the two environments, I would probably use the IDE more. I've always thought I should be able to say to Eclipse 'The project I'm working on is rooted <here>; you figure out how to deal with it'. Instead, I have to migrate the work into the IDE's world. I've never been a fan of mixing the IDE's internal book-keeping with the actual code that I'm writing and building. Still, as time permits, I try to convince myself that getting comfortable with Eclipse will have a net gain of some sort. So far, though, put me solidly in the 'Text Editor' column.

There are some pretty good programmer's editors available. I do use vi because of it's ubiquity, never managed to learn emacs, and routinely use nedit. If every *nix environment I worked in had one of the fancy Qt/GTK based editors (kate, kwrite, gedit, others I can't think of right now), I would probably migrate toward one of those.

--- rod.

Last edited by theNbomr; 11-10-2011 at 08:51 AM.
 
Old 11-10-2011, 11:08 AM   #20
ordinary
Member
 
Registered: Apr 2007
Location: the Rocket City
Distribution: Debian, Ubuntu, CentOS; in days past Fedora, Solaris, SunOS, 4.2BSD, 4.3BSD, SVR4, AIX, HP-UX
Posts: 101

Rep: Reputation: Disabled
I am primarily an Ada developer. For programming in the large, I find a good IDE indespensable; I prefer GPS. For knocking little C or Python together, vi is fine.
 
Old 11-10-2011, 11:42 AM   #21
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by ordinary View Post
I am primarily an Ada developer.
Seriously? Do you work for a defence contractor?
 
Old 11-10-2011, 12:18 PM   #22
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
I can't vote because there isn't an option for "it depends on the size of the project". I'll use a text editor with syntax highlighting for small scripts ... less than 100 lines say ... and a full IDE for things with multiple classes or when on-the-fly compiling and error checking is worthwhile.

OK, I've voted "other" considering this:

Quote:
Originally Posted by asipper View Post
I want to change my poll from Other to Both. How would I do that?
Only a mod or admin can do that. You could wait for someone to notice your request ... you could PM one of the mods, but it's not fair to pick just one ... or I suppose you could click Report on your OP and put the request in the note. That would flag it for mod attention - don't see anything wrong with that.
 
Old 11-10-2011, 01:48 PM   #23
ordinary
Member
 
Registered: Apr 2007
Location: the Rocket City
Distribution: Debian, Ubuntu, CentOS; in days past Fedora, Solaris, SunOS, 4.2BSD, 4.3BSD, SVR4, AIX, HP-UX
Posts: 101

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Seriously? Do you work for a defence contractor?
Yes, very serious. I've been an Ada developer for well over 20 years, and an Ada proselytizer for nearly as long. I have done other things, but I prefer Ada. I find it the most productive general purpose language for large projects. It's the opposable thumbs of large scale software development.

Ada finds application in various industries. I'm told it is currently more popular in Europe than in the US, but have not observed that personally.

I've even done web-development in Ada.
 
Old 11-10-2011, 03:02 PM   #24
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
both
use the best tool for the job
ajunta or eclipce or gedit or vi or emacs

it depends on what you are doing
 
Old 11-11-2011, 03:11 AM   #25
formiaczek
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Rep: Reputation: 0
Hi,
I've noticed for years, that low-level 'gurus' would stick to text editors no matter what (as a rule of a thumb). I've been using couple a few of both and honestly it's a matter of a preference and balance between 'know-how' and 'easiness'. And I've been using Eclipse CDT for almost all of my development.

Why? Well - eclipse CDT seems to get better over time and is pretty much working nicely on most of popular platforms(windows/linux etc.). Although the indexer can struggle on huge projects - for gcc applications / small projects and also embedded stuff (as you configure it) it can do all the job for you: just press ctrl+F11 to get the program executed. It allows you to easy debug it in a 'graphical' environment, you can switch perspectives etc.

But the most importantly - it is the best editor I know that does the formatting well (and you can set up any type of style you like / prefer / need (customizing it) and writing the code is just easy: you can finally focus on real work and forget about trailing spaces.. or indentations.. etc - press Ctrl+Shift+F - it will format all the text for you (and so it will as you type). When indexed - leave mouse over a macro (or function) - it will resolve macros so you see what code the preprocessor would create (and it will also show you steps that macro is resolved). Same for functions / other declarations: you'll see the hover with function body, ctrl+click to get there for editing. Many other short-cuts to jump to 'last edited place' etc. You can also customize all shortcuts, define your own ones etc. Of course there's incremental search, file-browser, refactoring, header browsers and other 'standard' tools (hex editor, memory viewer and many more).

Ok - I know, that you can spend many years getting to know tools like gvim or emacs (there's also an old 'elvis')- and many people will tell you that these tools can do things like above - but you might well spend lots of time trying to set up tricky options in some configuration files (like gvim)- and might take you weeks to get it set up = eclipse just has it 'by default' - and you only need to klick through
*incrementally searchable* options to change 'defaults' to your custom preferences.

From free tools only CodeBlocks is comparable - it's a great tool probably much better than eclipse fin practice if you do variety of projects - as it has many scripts / predefinied configurations / templates to create different types of them (e.g. not only console, as in eclipse, but has templates or types for projects like: static/dynamic link libraries,GTK+ / DirectX, GLUT, GLFW, QT, Win32GUI, OpenGL and also embedded ones: ARM / AVR, and even device-drivers and D-language apps). The indexer in the CodeBlocks is quite good and fast). Cons are for me - that given all great stuff that CodeBlocks has - I couldn't set up exactly the code formatting style that was required as a standard in my company and I could easily do that in eclipse.

Anyways - in summary - it is a matter of preference really. Go and try it yourself, but don't get convinced, that 'real gurus' are only ones, who use vim or emacs - clever people are lazy and don't do work if there are good tools to do that work for them
 
Old 11-11-2011, 05:48 AM   #26
Rickert
LQ Newbie
 
Registered: Nov 2011
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by formiaczek View Post
Hi,
I've noticed for years, that low-level 'gurus' would stick to text editors no matter what (as a rule of a thumb). I've been using couple a few of both and honestly it's a matter of a preference and balance between 'know-how' and 'easiness'. And I've been using Eclipse CDT for almost all of my development.

Why? Well - eclipse CDT seems to get better over time and is pretty much working nicely on most of popular platforms(windows/linux etc.). Although the indexer can struggle on huge projects - for gcc applications / small projects and also embedded stuff (as you configure it) it can do all the job for you: just press ctrl+F11 to get the program executed. It allows you to easy debug it in a 'graphical' environment, you can switch perspectives etc.
Not always graphical environment is good. Take Linux bash shell for example. I find that working with the shell is more comfortable, especially when working on remote machine. Unlike remote desktop with GUI, which is really slow, the shell is really all I need.

Also, not always you can compile automatically with F11 (unless you program in languages with JIT compiler like Java or scripting languages. You still have to write the make file, so you can press ctrl+f11 to build.

Quote:
But the most importantly - it is the best editor I know that does the formatting well (and you can set up any type of style you like / prefer / need (customizing it) and writing the code is just easy: you can finally focus on real work and forget about trailing spaces.. or indentations.. etc - press Ctrl+Shift+F - it will format all the text for you (and so it will as you type). When indexed - leave mouse over a macro (or function) - it will resolve macros so you see what code the preprocessor would create (and it will also show you steps that macro is resolved). Same for functions / other declarations: you'll see the hover with function body, ctrl+click to get there for editing. Many other short-cuts to jump to 'last edited place' etc. You can also customize all shortcuts, define your own ones etc. Of course there's incremental search, file-browser, refactoring, header browsers and other 'standard' tools (hex editor, memory viewer and many more).
Emacs has most of this. For which it doesn't have, other features make up.

Quote:
Ok - I know, that you can spend many years getting to know tools like gvim or emacs (there's also an old 'elvis')- and many people will tell you that these tools can do things like above - but you might well spend lots of time trying to set up tricky options in some configuration files (like gvim)- and might take you weeks to get it set up = eclipse just has it 'by default' - and you only need to klick through
*incrementally searchable* options to change 'defaults' to your custom preferences.
You don't need many years to learn vim or emacs, simply because it's not similar to Microsoft standard way of text editing. You can learn the basic with built-in tutorial for just an hour at most, and in just a few days you can learn most of useful editing techniques (copy, paste, incremental/backward search, open file, open tab, using buffers...). You don't need to set up a lot of things with Emacs. You can just download the starter config file on the internet, or plug in different modules. To "install" new module, all you need to do is to download the module, put its configuration code in an .el file and then include it in ~/.emacs . It seems cumbersome at first, but once you get used to it, it's really easy. I used emacs for over a year and still learning it while using. Note that when I say learning, it means I have already learned many advanced editing techniques with Emacs and finds it more productive then using IDE like Visual Studio, it has so many features for me to discover, unlike the other IDEs, which are limited in many ways.

Really, even with basic editing features, the biggest advantages vim and emacs offer me is that I can fully work without switching between mouse and keyboard too usual. Also, I can get a very big area on screen for editing text, unlike other IDE where most of the inner windows consume too much space, which I occasionally use. The other IDE I use is Eclipse CDT. Still, I bind the keys to Emacs style.
 
2 members found this post helpful.
Old 11-11-2011, 06:49 AM   #27
formiaczek
LQ Newbie
 
Registered: Nov 2011
Posts: 8

Rep: Reputation: 0
Smile

Quote:
Originally Posted by Rickert View Post
Also, not always you can compile automatically with F11 (unless you program in languages with JIT compiler like Java or scripting languages. You still have to write the make file, so you can press ctrl+f11 to build.
Well - I guess that recent CDT automatically creates /updates makefiles / build configuration, so even adding new source file / source dir - will automatically ad them (although still you have to manually add libraries you want to link against, but I'm not sure if this isn't the case in other IDE tools too). And CDT has error parsers, you you see right away (as you type) parsing / compiling errors (this might save time when build takes longer)

And you're right, it's not that bad to configure emacs, but still you need to do certain steps -get to find that configuration, customize it if needed and swap manually some config files to get it done.
Might be a good experience in itself of course. But just the fact you still have to do it might be a bit discouraging - it wasn't bad if a tool needed such actions (some*) years ago.. but now it could be a bit more user-friendly and more ready to use

Anyway, hopefully the author of the topic won't get confused too much, it is a matter of preference and is use-case specific.
 
Old 11-11-2011, 07:11 AM   #28
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by formiaczek View Post
... but now it could be a bit more user-friendly and more ready to use
I would expect applications like Thunderbird/Firefox to be "user-friendly" (it's a very relative concept anyway), but Emacs is a tool for developers and if a starting developer is afraid of modifying/pasting a few lines of config file to enable a particular mode in Emacs, then sorry but... perhaps programming is not the right career path for them.

Last edited by sycamorex; 11-11-2011 at 07:23 AM.
 
Old 11-11-2011, 07:27 AM   #29
Rickert
LQ Newbie
 
Registered: Nov 2011
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
I would expect applications like Thunderbird/Firefox to be "user-friendly" (it's a very relative concept anyway), but Emacs is a tool for developers and if a starting developer is afraid of modifying/pasting a few lines of config file to enable a particular mode in Emacs, then sorry but... perhaps programming is not the right career path for them.
Fixed.

When I was first moving from IDE world in Windows to Linux world, I was shocked when I have to use vim to program (now it's very useful), and it left a big question on why I have to use vim. I understand how people, who are not familiar with Linux in general, feel. It's really frustrating as when you move from Java to C/C++, since your starting languages are scripting languages or high level language like Java, which abstracts the low level aspects. People are too used to the Windows way of doing.

So if OP is not really optimized keyboard usage, but is more comfortable with the GUI environment, then IDE is the best choice.
 
Old 11-11-2011, 07:31 AM   #30
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Rickert View Post
Fixed.
Thanks. I was talking to someone when I typed my post.
 
  


Reply

Tags
emacs, ide, programming, text editor, vim



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
website building - IDE or text editor? pljvaldez Programming 4 08-29-2011 07:33 PM
[SOLVED] Java IDE or good text editor Nauntilus Programming 7 10-24-2010 12:46 PM
[SOLVED] All text in text editor turned to boxes... unclerick94 Linux - Newbie 2 07-17-2009 04:14 PM
Text Editor on Fedora Core 4 in Text Mode blong4life Linux - Software 5 07-31-2006 09:07 PM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration