English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can someone tell me some advantages and disadvantages of using a command line compiler and an IDE. Serious answers only please! I need this information for an assignment and haven't had much luck in locating any good information on the internet yet. Thanks!

2006-11-04 17:34:39 · 3 answers · asked by lparker_2005 2 in Computers & Internet Programming & Design

3 answers

Assuming that you already know what IDE and Command line compilers are, I am stating the advantages and disadvantages :

Advantages of IDE compilers:
1. Less Developement time: IDE would provide a GUI for writing code, compiling and debugging the program.
a. The code can be compiled from the same application in which the programmer is writing the code.
b. It is easier to debug the code in a GUI environment.
c. Most IDEs also provide functionality to manage projects
All of this leaves programmer with focussing only on programming.

Disadvantages:
1. Require more memory: The GUI in the IDE would often require more memory to be used. There are platforms (such as in real time OS) that you cannot afford to use memory for GUI while debugging. In that case IDE cannot be used for debugging.
2. Abstraction from the actual components: The IDEs combine the GUI, Word processing editor, debugger, compiler and linker so seamlessly that often the naive programmers do not know what is the difference between the different components. Though it might be convenient for the programmers to develop using IDE but they would face serious challanges when confronted with working with these components separately.

Advantages of Command Line Compilers:
1. Require less memory: With real-time applications, memory is at the premium. It is often advisable to use as less memory as possible. Not only computer can support graphics and in those scenarios one has to resort to using the command line compilers.
2. The real deal: Using a command line compiler would enable the programmer to learn how to configure paths for the program. While making large projects programmer can learn how to actualy create libraries and use them under different secnarios. While all of this can be abstracted in GUI option in and IDE.

Disadvantages:
1. Tedious: Using a command line compiler increases the developement time. Some trivial task require to be repeated again and again for compiling each file. While all of this can be taken care of by an IDE.

2006-11-05 07:08:17 · answer #1 · answered by Achint Mehta 3 · 2 0

a command line interpreter will allow you to execute and test stand alone functions and commands only..like say print a line on a screen,add two numbers or more and print their value

On the other hand a full fledged IDE will help you create a complete program with multiple variables,functions,commands and execute it .It allows for portability since the programs have their source code stored in the file created in the IDE while in the case of command line interpreters the function you just wrote on the command line cannot be ported

2006-11-05 04:17:02 · answer #2 · answered by life goes on... 2 · 1 1

Read this article at WIkipedia

2006-11-04 17:45:04 · answer #3 · answered by DadOnline 6 · 0 2

fedest.com, questions and answers