I have an answer for this one ... wanted to share.
The question comes up with some regularity. For me it came up because I was teaching a beginner to code in C / C++ on his Ubuntu box, but they had already been spoiled by limited exposure to a Windows IDE.
The answer is that IMHO, teaching a development environment to a beginner before you teach them C makes things harder, not easier. So what you want for a beginner is something as dirt simple as possible, that does not interpose itself between them and their code.
I attach my answer ... and am eager for other contributions.
IMHO, the rookie must understand what a shell is, an ASCII file-C program and how to run gcc. This is before he attempts anything. This urge to "Why can't I just click?" irks me. Once he grasps a few basics, he will need a real IDE that can be used to throw up an X window or whatever. Skip the IDE it spoils noobs, I still don't use one........don
answered 14 Jun '10, 21:27
I was inspired by this thread:
I like this solution because the beginner does not need to learn vim or emacs before starting to program. gedit (gnome-edit) is dead simple to use for most beginners who like pointing, clicking, cutting and pasting. Nonetheless, gedit does have syntax highlighting and parenthesis-matching (you need to turn bracket-matching on in your prefs.); certainly features that no programmer should do without. (Pity the poor Windows noobs who use Notepad). Further, gedit DOES have the ability for one click compiling and running -- it's just implemented in user scripts. So -- I explain the script system and provide some samples. After this you have a development environment that a beginner can use. I do assume that you are helping your beginner set this up.
Here is my execute script.
Here is my script called *CCompile_and_Execute*.
A couple of notes:
This answer is marked "community wiki".