PDA

View Full Version : prerequisites for linux programming



fr33c0untry
January 4th, 2013, 08:50 AM
hi everyone,

I'm not much of a computer programmer .I've learnt a bit of c for semester.I would like to make the best use of ubuntu by learning linux programming and bash scripting.
I would like to know the prerequisites for learning linux programming.I hope my minimal knowledge of c would be sufficient.but is this the right way to start programming for a beginner or should i proceed to learning more about c/c++ first?

Bachstelze
January 4th, 2013, 09:26 AM
What kind of things do you want to program? Shell scripting does not really have any prerequisites: of course it will help if you have some knowledge of common programming concepts, but you have to learn them somewhere, and shell scripting is as good a way to learn them as any other.

The "standard" recommendation for beginners is Python, since it is both simple and powerful, you will be able to get "real" things done quickly (the same can't be said if you start with, say, Lisp).

Tony Flury
January 4th, 2013, 09:28 AM
The best way of learning a language is to use it.

Read the programming stickies threads at the top of this forum to see exactly what you need, but I would suggest that you don.t at the moment think about using an IDE, just use a simple text editor and the command line to do the compiling.

If you are set on using C, then The minimum you should need is the build-essentials package, and your favourite text editor. If you are going to start with python, then all you need is a text editor (gedit is more than good enough for a beginner).

Also take a look at the beginners challenges in these forums - and start at number one., they are getting more complex as they go on.

I agree with Batchelsize suggestions of starting with python., and I would point out that you should treat C and C++ as two different languages which look superficially similar and have a connected history, but they aren't.t the same

HernanLinux93
January 4th, 2013, 03:20 PM
I have started learning python and its not really as complicated as it looks, its easy and powerful at the same time and you can progress pretty easily, to get you started and have a glimpse at python I recommend you this site

http://www.codecademy.com

on the bottom of the page you will have options to choose between which langauges you want to learn, they all have interactive exercices to go along with each course
→ JavaScript (http://www.codecademy.com/tracks/javascript-combined)
→ HTML/CSS (http://www.codecademy.com/tracks/htmlcss)
→ Python (http://www.codecademy.com/tracks/python)
→ Ruby (http://www.codecademy.com/tracks/ruby)

Good luck :)