Is there any difference between compiling by linux terminal or IDE?

I've been programming in C in linux for a semester now, and I always come across people who call themselves better programmers because they compile and run the program through terminal. However, in front of several researches, I have always found on the internet articles saying that the IDE it was made to help the programmer, make the time he would use compiling every hour and running in the terminal, improve a little.

In my humble experience with both, actually, I found it much easier just to compile and run by IDE. But since I am starting in this area, I would like to know from you what is the difference? Is it even better to compile by terminal? If so, why?

Note: I use codeblock.

Author: Jorge B., 2015-12-17

2 answers

I think it is important to know how it works in the terminal, but unless you are going to use very specific commands to compile there is no need.

Every IDE was designed to streamline and help the programmer's work, many of which allow you to pass parameters before compilation.

There are several factors that differentiate a good and a" bad " programmer, writing a gcc prog.c -o prog is not that different from squeezing play in the IDE.

 6
Author: Lucas Queiroz Ribeiro, 2015-12-17 16:45:44

The difference is more human than physical. A program compiled in an IDE may even suffer from a few differences due to the "generic" parameters of IDE compilation but most people do not know many parameters of their compilers to add something and here appears the human difference of programming without IDE: the knowledge of the tools that the IDE uses, the compilation process and link Editing.

But life is short and the market is restricted. reading the GCC and Linker documentation can be a waste of time and money.

I just needed to learn more about code generation tools when something went wrong or an IDE was too expensive and a custom alternative was possible, that way I like the mixed IDE light and terminal like Code:: Blocks + Guake (suspended terminal) to program embedded systems and discard the eclipse base IDEs and have no money for an IAR.

 2
Author: , 2015-12-18 19:14:02