|
Author |
Message |
|
|
Posted Jan 16, 2009 at 3:14:39 AM
Subject: New programmer
I'm new to linux and have no idea of how to program it. Can anyone give me any advice to help learn how to program?
|
proopnarine
Joined Apr 03, 2008 Posts: 590
Location:San Francisco
Other Topics
|
Posted:
Jan 16, 2009 4:33:46 AM
Subject: New programmer
That's a big question! Sounds like you're pretty new, so maybe just fool around, figure out what you'd kind of programs you'd like to write, and the pros and cons of the various languages.
http://www.howtoforge.com/howtos/programming
Take the red pill
Climate Change Blog
Food Weblog
|
Knuxz
Joined Jan 16, 2009 Posts: 3
Other Topics
|
Posted:
Jan 16, 2009 1:13:22 PM
Subject: New programmer
Ok, thanks, i always did want to play with linux :3
|
Knuxz
Joined Jan 16, 2009 Posts: 3
Other Topics
|
Posted:
Jan 16, 2009 1:15:31 PM
Subject: New programmer
I just read some from that site, i'm so new, i don't even understand the terms yet. I don't know what memcached is, what php is and many other things
|
PerlCoder
Joined Jun 30, 2008 Posts: 148
Other Topics
|
Posted:
Jan 16, 2009 7:15:26 PM
Subject: New programmer
If you've never done /any/ programming, I suggest you start with an easy-to-learn interpreted language like Perl: go to http://www.perl.com/pub/a/2000/10/begperl1.html or type 'perldoc perlintro' at the command-line.
After you get down some of the most basic concepts of programming, you could move on to a language like C or C++ which are commonly used in Linux programming.
PerlCoder (http://indicium.us)
|
Binary Snake
Joined Jan 11, 2009 Posts: 197
Other Topics
|
Posted:
Jan 16, 2009 8:29:18 PM
Subject: New programmer
Perl is for computer geeks, even geeks hate perl. I suggest you start programming with python, it's well designed , more powerful than perl and very easy to learn.
Go to http://www.python.org and look for documentation there.
|
proopnarine
Joined Apr 03, 2008 Posts: 590
Location:San Francisco
Other Topics
|
Posted:
Jan 17, 2009 6:29:02 AM
Subject: New programmer
You know, it really is pointless getting into fights over which language is better, particularly when trying to help someone get started. To each his own; some languages are definitely better than others, but most often it comes down to personal tastes and the needs of the task at hand. Python is beyond useless for the sorts of problems that I deal with, but it's obviously a fine language. As is Perl. I think that you can do anything with C++, and indeed you can, but it's overkill and too much work for many problems.
Knuxz, many many years ago I bought a large book, "Learn C++ in 21 Days", I think was the title. Now I parallel program. Browse the web and bookstores until something catches your fancy. And come back here when you have questions. But the best way to learn how to program, is to just do it.
Take the red pill
Climate Change Blog
Food Weblog
|
tophandcwby
Joined Apr 10, 2008 Posts: 81
Other Topics
|
Posted:
Jan 17, 2009 2:09:13 PM
Subject: New programmer
The best language to start with depends on what you are interested in programming.
For example, I became interested in hardware control so I learned C. When I had a passing interest in web programming I learned HTML, Perl, and Javascript. Because I have a strong interest in Systems Administration I learned shell programming. A number of years ago I got caught up in the interest in Object Oriented Programming, so I learned C++. Now I have caught an interest in GUI programming and have been playing with GTK+. I am starting to wonder if I should at least look at functional languages such as erlang and haskel.
My advice is to decide what kind of programming your interested in right now. In other words, what do you want your programs to do. Look at what languages are used for that kind of programming. Then select a language that is used for that kind of programming.
Remember, as in the rest of the world, in programming there are styles and fads. What is in style now, may not be in style in 5 years. Sometimes what was in style 20 years ago, comes back around. I know people who are developing new code in FORTRAN.
The more languages you learn, the easier it is to learn a new language. Also the more languages you learn, the more indifferent you become to a particular language.
|
Warmotor
Joined Apr 25, 2008 Posts: 24
Other Topics
|
Posted:
Jan 19, 2009 8:23:46 PM
Subject: New programmer
There are tons of online tutorials to get you started man, just start googling until you find something that tickles you. Perl programmers are going to convince you to learn Perl, Python programmers to learn Python - but you have to decide what you want your programs to DO and then start reading up on what people are using to do it.
If you want to write web apps you should start with HTML, which isn't really programming language so much as a script that allows you to format web pages - but it's wicked freakin' easy to learn and you can just open the files in a browser to see the results, no compiling! Once you've got some basic web pages down, there are a bunch of really simple client-side javascript commands that you can stick in there to make your page do some interesting stuff, and when you're ready to really add some code on the back-end, that's what PHP is for. You can find all the info you need on all that stuff on www.webmonkey.com
If you're looking hard at the Linux experience, C/C++ is the way to go. Most Linux distros come with text editors that highlight your code for you to make writing it easy, and the command line GNU compiler is basically built into the OS too. Like I said, hit google up for beginner tutorials and you'll get the added bonus of learning the Linux command line in the process. Once you get into it a little, check out the SDL libraries and you'll be making awesome graphical front-ends in no time.
|