5
I’m programming in C
in the linux
for a semester now, and I always come across people who call themselves better programmers because they compile and run the program through the terminal
. However, in the face of various researches, I always found articles on the Internet saying that the IDE
was made to help the programmer, make the time he would use by compiling all the time and running on the terminal, improve a little.
In my humble experience with both, really, I found it much easier just to compile and run through IDE
. But since I’m starting in this area, I’d like to know what the difference is? Is it really better to compile by terminal? If so, why?
Note: I use codeblock.
The question is rather based on opinions. For example here in my work we compile the application with a script previously created to execute commands at the command line. Depending on what you want the IDE can serve yes, as long as you know what you are doing, namely how the IDE is compiling your code. Otherwise it is a matter of taste or need.
– Jorge B.
I understood Jorge B. As people talk a lot about the terminal, I thought it would be something that was "the right thing to do". Thank you ;)
– Marcielli Oliveira
Marcielli is really just a matter of taste, of course the geeks will all say it’s better to do all at the terminal, but you have the example of Android Studio that does everything for us and is very handy. But for some specific cases has even to be the hand compiling an Android app.
– Jorge B.
@Marciellioliveira Your question is quite valid, but seems to escape the focus of the site. But not to leave you unanswered: learn what the IDE is doing behind the scenes when you click the compile button. Once you learn this, use the compile button. There is no glory in wasting time. No one will care how much your development has been "noble" if you don’t deliver results as quickly as expected.
– Pablo Almeida
@Pablo loved that last sentence. That’s all.
– Jorge B.
Compiling the program from the command line I use only in specific cases, usually when I remote access my machine, because I can’t load the IDE in graphical mode. When I am programming using IDE shortcuts to compile I find it faster and convenient, but it has no problem using any of these options.
– gato
Thank you all. I understand that is not the focus of the site. If you think better, I delete. No problems. Anyway, they helped me a lot.
– Marcielli Oliveira
@Marciellioliveira I edited the question, with that title I think is more within the scope of the site. If you do not like the edition can reverse. But I think you should keep the question, it’s quite interesting.
– Jorge B.
I liked it Jorge, I thought it was better too. Thank you.
– Marcielli Oliveira
Here is relevant information about this: http://answall.com/q/101691/101
– Maniero