ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've started programming in school and what not but never really took it seriously. I want to start somewhere and I’m not too sure where. I need advice where should I start? I was thinking simple bash scripts then maybe perl, and then after struggling with that for a while trying to convert to c. But I don’t know. Any links to tutorials or anything would be helpful. I have a couple of O’Reilly books.
There are many posts on this site and sites around the internet that address this question. It all depends on what you want to do with your programming skills, and how far you have already progressed. A good bet would be a goal of knowing either Perl or Python and C or C++. Here is what languages I learned (in order) :
BASIC, scripting, Python, Java, C
Please search this forum, or else google a search on what languages/tutorials/books would be best for you.
Scripts are probably easier to start with since you don't need to compile them. The most difficult thing about just "wanting to program" is thinking of somethign you want to acheive by writing a program.
FYI a 'script kiddie' is refering to an idiot wannabee 'h4XX0r' who simply uses a premade tool to lever a prefound exploit, basically requiring no 'm4d ski11z' and being very lame. Que ''
I was in the same boat a month ago, a BASIC class coupla years ago, but no speakable programming skills. I assumed i knew nothing and picked up an O'Reily C++ book. I just go through page by page programming in as much as possible. Then I switched distros, so I shelved it for a week, but things are moving along again.
Better start programming from python or java, but if you like system side programming, go for C/C++, but the learning curve is more and you will not become productive soon.
You can also learn shell scripting and/or perl, as they are very good.
Originally posted by david_ross The most difficult thing about just "wanting to program" is thinking of something you want to acheive by writing a program.
I hear ya!
I started learning python a few days ago and I really like it, it's my first language besides some simple shell scripts.
The IDLE interpreter helps a great deal and you can run programs without having to compile them which is good, I'm guessing you can't do that in C or ++.
If you choose to learn Python there are some really great tutorials on the Python homepage and on the pygtk kit for creating GUI's.
The thing I find most usefull is to read the tutorial a bit, choose one of the exercises to complete then try and add features that are beyond your current capability, then read and research more to find out, then move on to another thing. Wanting to learn to add a new cool feature to a little program is much more fun than simply trawling through a tutorial doing exercises that require you to simply look back a page and copy out some stuff.
I just wrote a program that will print your name, convert your date of birth, 31/07 format, into 31st of July format with correct st, rd, nd and it can handle exceptions too. It tells you when how old you will be on your next birthday too, MAN I'M 1337!!!
I can't wait to have the ability to do something usefull!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.