Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
@OP, since you just want to learn programming, such as algorithms, etc.. Try Python. It has
1) one of the cleanest syntax around, so you can easily read your code.
2) doesn't need a compiler like C/C++ to compile code. you can test your Python code on its interactive shell before putting into your script. Saves a lot on development time.
3)not as long winded as Java (also needs a Java compiler ) which everything is a class...
4)not as "noisy" as Perl, due to 1) as it don't use symbols like { } % $ unnecessarily.
5)further, it does what Java/Perl/Ruby/C/C++ can.
and much more.
Actually, a really solid introduction to programming is 'Structure and Interpretation of Computer Programs' from MIT press. It teaches you some Scheme variant along the way. But the important thing is the method of thinking about software.
A fine debate you're having here---but is it helping the OP?
Have we made clear that there is a big difference between learning programming and learning a language? The choice of first language should support the goal of learning **programming**---I can't imagine starting with an OO language until there is a basis for knowing why it is a good thing.
I can't imagine starting with an OO language until there is a basis for knowing why it is a good thing.
I think starting with an OO language is fine, as long as you don't have to use OO right away. (anything but Java)
Which is why I wonder why they teach Java in so many intro CS courses.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.