Beginning Programming, What Language To Use For Linux
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 recommend continuing learning C++. You should try to learn the major aspects of the Standard C++ Library and then you can start working with windowing frameworks.
I just thought I would tell you my opinion, on the Python is better then C question, as somebody who is very proficient in C and just started working with Python.
I think Python is great for writing applications in. Though I will probably still use C++ for graphical parts of applications because I like Qt/Qt-embedded. I also think Python would make a great learning language because the syntax is friendly and it could be useful for teaching OO principals (and it isn't a pig like Java).
However, I certainly don't think Python is a replacement for C. C is still what I will use for all my embedded software, and for kernel modules. Python isn't the type of language you could build an OS in and I am guessing getting Python's interpriter to compile with uc-libc could pose to be difficult.
I know these weren't directed at me, but I'm responding anyway.
Quote:
Originally posted by jtshaw I think Python is great for writing applications in. Though I will probably still use C++ for graphical parts of applications because I like Qt/Qt-embedded.
Python has QT bindings too, you know. Though on many embedded platforms, Python would not be a wise choice (more below).
Quote:
However, I certainly don't think Python is a replacement for C. C is still what I will use for all my embedded software, and for kernel modules. Python isn't the type of language you could build an OS in and I am guessing getting Python's interpriter to compile with uc-libc could pose to be difficult. [/B]
Right. Python was never intended to be a replacement for C. It's coded in C Actually, there is a project for implementing Python in Python (PyPython as opposed to CPython), but that's more of a "fun" thing than a practical thing (though it does have its uses). But every experienced Python programmer knows that one of the best things about Python is that thanks to things like Pyrex, you can rewrite your slow code in C and then use those functions in Python. Lather (profile), rinse (examine slow portions, rewrite in C), repeat (until performance meets necessary standards).
Beginner or no beginner... shouldn't it really depend on what you plan on coding?
I mean, I've talked to alot of ppl who say they want to learn to code as a beginner, but you have to have some purpose or direction. Otherwise, why bother? There most likely is already a proggie out there that we've already slung together... well roughly.
Anywho, I just thot I'd throw that in. My boss asked me the same thing today right before i saw this thread and he started probing me about what I leanred first and so fourth.
So, long story still long, I'd recommend C. It is pretty as powerfuly as you could want, but again depending on what you want to code... I'm runnin in circles now.
I would like to second the opinion, that when moving to linux, learning bash is a must. Pearl scripts are also commonly used in linux, such as the installation programs that the distros use. If you want to get your feet wet programming some games, you might want to look into one of the earlier versions of blender. This program has a game engine and will run on linux or windows machines. If you decide to give this a go, you may want to learn python.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.