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 know there are varying opinions, but that is what I want.
I have a background in C++ and VB, four semesters worth. I haven't coded in about six years, but wanted to get back into programming. I love the Linux platform and wanted to give back a little.
1. What language do you recommend I learn (perhaps just in general)?
2. Why do you like that language for Linux?
Currently, I'm leaning towards C# and mono. Is this a bad or good idea?
I know there are varying opinions, but that is what I want.
I have a background in C++ and VB, four semesters worth. I haven't coded in about six years, but wanted to get back into programming. I love the Linux platform and wanted to give back a little.
1. What language do you recommend I learn (perhaps just in general)?
2. Why do you like that language for Linux?
Currently, I'm leaning towards C# and mono. Is this a bad or good idea?
That depends on what you want to program.
For 99% of my work, I use shell scripts. For the rest, C.
Use whatever you have the most fun with, or feel like using for a particular project. I'm not a huge fan of C++, but that's just me. I use C or Java for most stuff, though I'm getting into C#, just haven't found a good project to use it with.
That's a very broad question. What type of programming do you want to do? Web Development, Application Development, Kernel Development, Drivers. Be more specific.
I'm just gonna pop in here, and say Common Lisp!
Highly under-used, but oh-so highly effective.
If you want to make a GUI app, just make use of ASDF and link to C/C++ graphics libraries.
The core of a Linux system is written in C, so I'd pick that up. It has a lot of nuances coming from C++. glibc is one of the most useful tools on a Linux system (check out info:libc.) 99% of what I do is C++ (because I love abstractions) and C where required with glibc and the rest is Bash shell scripts. I doubt C# or VB will be at the core of Linux. I'd say definitely C and C++ because they have ISO standards and can do nearly everything you need done (in combination with glibc and a decent GUI lib like GTK.) Also some sort of shell scripting because you won't get very far in Linux without it.
ta0kira
<sarcasm>It is a very clear, user-friendly language </sarcasm>. I personally would like to see more Java applications making its way into Linux. You are interesting in learning C#, so here is my tip: Stay away from MS technologies. C# in my eyes, is just a rip off something MS could not buy...
C# in my eyes, is just a rip off something MS could not buy...
Zing!
I tried learning C#, but it was too much like Java. I use Java quite a fair bit for alot of my big projects, as I think it makes managing source packages easy as pie. For everything else, I use Common Lisp. It boils down to Java for networking, Common Lisp for actual execution, and system calls for everything else.
EDIT: Whitespace looks to be along the same lines as the language, Brainfuck.
Code:
++++++++++
[>+++++++>++++++++++>+++>+<<<<-] The initial loop to set up useful values in the array
>++. Print 'H'
>+. Print 'e'
+++++++. Print 'l'
. Print 'l'
+++. Print 'o'
>++. Print ' '
<<+++++++++++++++. Print 'W'
>. Print 'o'
+++. Print 'r'
------. Print 'l'
--------. Print 'd'
>+. Print '!'
>. Print newline
<sarcasm>
I don't know man. The first paragraph starts with:
"Ook! is a programming language designed for orang-utans."
it is the same problem I have with Ubuntu's slogan:
"Linux for human beings"
Am I the only one who feels a little bit of discrimination within those projects?.
</sarcasm>
Now seriously... do we really need yet another programming language?. Sometimes it feels like we are always cloning other technologies instead of moving forward
I have a background in VB as well, and some familiarity with C++ concepts. I'm actually learning Python right now, bc i've heard only the best things about it. It's extremely diff from VB and C++, bc code is based less on content and more on sytax, therefore, what could take 20 hrs of coding in VB or C, would take probably around 10-15 in python. This is why it is usually described as being a "powerful language". More can get done with less code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.