LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Reply
  Search this Thread
Old 12-25-2008, 12:53 PM   #1
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Rep: Reputation: 30
i have seen many experts saying that use command line tools for compilation and use


and use text editor esp pressing upon vim
but i personally fail to understand their advantage over ide like kdevelop
hence i am less motivated to learn them

it would be nice to hear from the experienced people over here
if any one of you support the two(vim and make etc)pls share their advantages over ide
 
Old 12-25-2008, 04:33 PM   #2
geek745
Member
 
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
Well, an IDE certainly has its advantages in coding - it will provide integration (thus the name) with compilers, debuggers, and usually a documentation reference. It may also include a provision to interface your local source code directory with a revision control system (like cvs or svn, or hg, bazar, git, etc) or ftp/sftp. For C++ and Java projects, the IDE may assist you in assembling the scripts and configuration files needed for GNU autotools and Java's Ant for automated compilation upon release.

Where vim comes in is when you need to make a quick edit to a file and you're already on the command line - you don't need the full-fledged IDE - I'd say it's a handy skill to know, and working on the command line as a system admin (even of your own desktop system), vim is the best you can do in a text editor. It has syntax highlighting, sophisticated regular expressions for search and replacement, multi-file support, and much more - dive in and see for yourself how useful it may prove to be for you!
 
Old 12-25-2008, 04:50 PM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by amolgupta View Post
and use text editor esp pressing upon vim
but i personally fail to understand their advantage over ide like kdevelop
hence i am less motivated to learn them

it would be nice to hear from the experienced people over here
if any one of you support the two(vim and make etc)pls share their advantages over ide
Vim is anywhere and kdevelop might not be available on some other machine.
Text editor might be easier to tame/learn than fighting ide bugs constantly.
Personally I dislke ides because they all always have some minor fault (normally, in gui) somewhere, which makes them incredibly annoying - I havent ever seen perfect IDE to work, that's why I prefer simple tools. I also don't like being dependant on any IDE to code - because if you'll move to another platform/desktop, you will have problems finding alternative. Another reason to use commandline tools with text editor is because they often give you greater control over compilation than "project" used in IDE.

Last edited by ErV; 12-25-2008 at 04:51 PM.
 
Old 12-25-2008, 04:51 PM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by amolgupta View Post
and use text editor esp pressing upon vim
but i personally fail to understand their advantage over ide like kdevelop
hence i am less motivated to learn them

it would be nice to hear from the experienced people over here
if any one of you support the two(vim and make etc)pls share their advantages over ide
What do you want to become - a person who knows how to press buttons of a given tool or a person who understands how it really works and what is actually happening ?
 
Old 12-26-2008, 02:54 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
...and command line tools are more likely to be available (and workable) on low-resource systems. If, for example, you are trying to create code for some kind of embedded Linux system, it may not be possible to run an ide on your target system while it may be possible to do the job if you are familiar with the command line tools.
 
Old 12-26-2008, 03:20 AM   #6
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
I would say the speed and inherent simplicity (once u learn to use them) are behind use of CLI tools.

I particularly recommend text editor with syntax highlighting for learning programming.
For large projects, IDEs may be easier to work with.

IDEs may be more useful when making GUIs and stuff, though.
 
Old 12-27-2008, 07:24 AM   #7
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Sergei Steshenko View Post
What do you want to become - a person who knows how to press buttons of a given tool or a person who understands how it really works and what is actually happening ?
well actually both.its nice to know what's happening behind the scene and finally pressing the button is usually faster then typing some command
and these days Gui isn't much of a overhead for the common machines to bear
i feel i should be using gui most of the times and only use command when i i know that the Gui isn't letting me do what command can let me do
 
Old 12-27-2008, 07:32 AM   #8
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by salasi View Post
...and command line tools are more likely to be available (and workable) on low-resource systems. If, for example, you are trying to create code for some kind of embedded Linux system, it may not be possible to run an ide on your target system while it may be possible to do the job if you are familiar with the command line tools.
you are true but not many people are in general are forced to use low resource machine nor is an ide quite inaccessible.it was present in all the Linux distros that i have used.secondly running ide on target system may not be required,one can compile it on a a desktop and then transfer to the embedded system.lastly if i have experience with embedded systems will i ever get to know and realize to what you say.
 
Old 12-27-2008, 07:35 AM   #9
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ciden View Post
I would say the speed and inherent simplicity (once u learn to use them) are behind use of CLI tools.

I particularly recommend text editor with syntax highlighting for learning programming.
For large projects, IDEs may be easier to work with.

IDEs may be more useful when making GUIs and stuff, though.
I agree to what you say
 
Old 12-27-2008, 07:35 AM   #10
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by geek745 View Post
Well, an IDE certainly has its advantages in coding - it will provide integration (thus the name) with compilers, debuggers, and usually a documentation reference. It may also include a provision to interface your local source code directory with a revision control system (like cvs or svn, or hg, bazar, git, etc) or ftp/sftp. For C++ and Java projects, the IDE may assist you in assembling the scripts and configuration files needed for GNU autotools and Java's Ant for automated compilation upon release.

Where vim comes in is when you need to make a quick edit to a file and you're already on the command line - you don't need the full-fledged IDE - I'd say it's a handy skill to know, and working on the command line as a system admin (even of your own desktop system), vim is the best you can do in a text editor. It has syntax highlighting, sophisticated regular expressions for search and replacement, multi-file support, and much more - dive in and see for yourself how useful it may prove to be for you!
i agree to what you say
 
Old 12-27-2008, 07:38 AM   #11
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ErV View Post
Vim is anywhere and kdevelop might not be available on some other machine.
Text editor might be easier to tame/learn than fighting ide bugs constantly.
Personally I dislke ides because they all always have some minor fault (normally, in gui) somewhere, which makes them incredibly annoying - I havent ever seen perfect IDE to work, that's why I prefer simple tools. I also don't like being dependant on any IDE to code - because if you'll move to another platform/desktop, you will have problems finding alternative. Another reason to use commandline tools with text editor is because they often give you greater control over compilation than "project" used in IDE.
only time and experiences will season me enough that I mature to find some major bugs.right now for me kdevelop is fine and probably was available in all the distros that ever used

Last edited by amolgupta; 12-27-2008 at 07:59 AM.
 
Old 12-27-2008, 09:22 AM   #12
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by amolgupta View Post
only time and experiences will season me enough that I mature to find some major bugs.right now for me kdevelop is fine and probably was available in all the distros that ever used
All ides I ever tried had some major bug that ruined experience and made ide useless. In KDevelop it wasn't possible to assign more that 10 shortcuts to make tool windows appear, which wasn't enough. The best GUI in IDE was in MSVS 2005. But it had other horrible features like intellisense, gui bugs, proprietary improvements over C++ standart, etc. So after some searching I decided that all IDEs are crap and using simple editors will be much easier than finding good IDE.
 
Old 12-27-2008, 10:52 AM   #13
unihiekka
Member
 
Registered: Aug 2005
Distribution: SuSE Linux / Scientific Linux / [K|X]ubuntu
Posts: 273

Rep: Reputation: 32
Quote:
Originally Posted by Sergei Steshenko View Post
What do you want to become - a person who knows how to press buttons of a given tool or a person who understands how it really works and what is actually happening ?
Well, in vim you need to know the commands for editing, saving, etc. which is basically the same as clicking buttons, only less obvious. Knowing vim does not give you an actual understanding of what really happens, neither does an IDE.
 
Old 12-27-2008, 01:02 PM   #14
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by unihiekka View Post
Well, in vim you need to know the commands for editing, saving, etc. which is basically the same as clicking buttons, only less obvious. Knowing vim does not give you an actual understanding of what really happens, neither does an IDE.
I said nothing about a text editor.

I meant the steps involved in producing an executable from sources.
 
Old 12-27-2008, 01:16 PM   #15
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
I have always been a text editor/command line kind of guy, but in the recent past I have developed a bit of a fondness for kdevelop.

My prior IDE experience was all with Windows, and M$'s IDEs have always been incredibly frustrating for me to use; I positively DESPISE VS.

An IDE is supposed to help you out by integrating things, but it is easy for the IDE to cross the line from "help you out" to "compel you and annoy you". M$ IDEs are way, way, way across that line, but Kdevelop (IMHO) doesn't cross that line. I like Kdevelop these days for building projects that might run on an arbitrary linux distro because Kdevelop saves me from having to deal with all the intricacies of automake; Kdevelop sets all that up for me.

That said, when I start a new project it is always command line/editor. If I decide later that the complexity of the project requires it, I'll import it into Kdevelop. Presently my rewrite of my commercial program is in Kdevelop, both my satellite communications project and my radar signal processing project are editor/command line (and probably will stay that way).
 
  


Reply



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
must have command line tools. slimm609 Slackware 28 05-29-2007 06:45 AM
Command line/tools in CentOS/RHEL ? tuxuser19 Red Hat 5 10-01-2006 07:07 PM
Question for experts. About command line programming.. zaoka Programming 5 06-19-2005 03:31 PM
C++ Interfacing with command line tools khermans Programming 2 04-14-2005 02:00 PM
group command line tools m2azer Linux - General 4 10-31-2004 09:37 PM

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

All times are GMT -5. The time now is 09:50 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