LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2007, 09:47 AM   #1
Earth and Stars
LQ Newbie
 
Registered: Apr 2007
Distribution: Kubuntu
Posts: 1

Rep: Reputation: 0
What language for Linux do you recommend?


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?
 
Old 04-03-2007, 10:44 AM   #2
cfaj
Member
 
Registered: Dec 2003
Location: Toronto, Canada
Distribution: Mint, Mandriva
Posts: 221

Rep: Reputation: 31
Quote:
Originally Posted by Earth and Stars
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.

 
Old 04-03-2007, 11:01 AM   #3
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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.
 
Old 04-03-2007, 11:57 AM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
Old 04-03-2007, 12:37 PM   #5
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
> I know there are varying opinions

that may be an understatement
 
Old 04-03-2007, 03:12 PM   #6
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 04-03-2007, 04:01 PM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108


I think the least used yet useful one is prolog...
 
Old 04-03-2007, 05:36 PM   #8
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
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
 
Old 04-03-2007, 06:25 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Whitespace is so underrated. Take a look at this example, here is a hello world in whitespace:

Quote:
Hello #World #in #Whitespace * # # * # # #
+ *[Space]
+ #is #marked #with"#" # #[tab] #with"*" *line-feed #with #"+" * # *so
+it #would
+be #easier #to #write #again... #All *the *non-whitespace-characters #are *ignored... * # #
+ *
+ # # # # # * * # * * # #
+ *
+ # # # # # * * # * * * *
+ *
+ # # # # # * # # # # #
+ *
+ # # # # # * # * # * * *
+ *
+ # # # # # * * # * * * *
+ *
+ # # # # # * * * # # * #
+ *
+ # # # # # * * # * * # #
+ *
+ # # # # # * * # # * # #
+ *
+ # # # # # * # # # # *
+ *
+ # # # # # * # * #
+ *
+ # #
+
+
+
<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...
 
Old 04-03-2007, 07:08 PM   #10
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Quote:
Originally Posted by Mega Man X
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
(Lifted from http://en.wikipedia.org/wiki/Brainfuck.)

Last edited by indienick; 04-03-2007 at 07:11 PM.
 
Old 04-04-2007, 01:05 AM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by indienick

Whitespace looks to be along the same lines as the language, Brainfuck.
LOL. That is one language that if I knew, I would omit on my Résumé. I don't think "brainfuck" sounds like a good name .

Here is a list of "Hello World" programs. The list is about 300 different languages. Interesting that only a few of those are actually useful

http://www.roesler-ac.de/wolfram/hello.htm
 
Old 04-04-2007, 05:10 AM   #12
bandwidthjunkie
LQ Newbie
 
Registered: Jan 2007
Location: london
Distribution: Gentoo(amd64) - 2.16.20
Posts: 26

Rep: Reputation: 15
Quote:
Originally Posted by Mega Man X
LOL. That is one language that if I knew, I would omit on my Résumé. I don't think "brainfuck" sounds like a good name .

Here is a list of "Hello World" programs. The list is about 300 different languages. Interesting that only a few of those are actually useful

http://www.roesler-ac.de/wolfram/hello.htm
On the basis of that can I suggest Ook it seems to have reached a new standard in usability. (http://www.dangermouse.net/esoteric/ook.html)

Last edited by bandwidthjunkie; 04-04-2007 at 05:11 AM.
 
Old 04-05-2007, 01:02 AM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by bandwidthjunkie
On the basis of that can I suggest Ook it seems to have reached a new standard in usability. (http://www.dangermouse.net/esoteric/ook.html)
<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
 
Old 04-05-2007, 01:12 AM   #14
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
just name it as an extension to a previous language ... ^_^


.
 
Old 04-06-2007, 01:30 AM   #15
gvp87
Member
 
Registered: Mar 2007
Location: Boston
Distribution: Ubuntu Gutsy
Posts: 50

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
recommend me a Videoplayer (P2+Linux) Michaelx Linux - Software 2 06-19-2006 05:50 PM
What Linux version would you recommend for me? Jofi Linux - Newbie 2 06-06-2004 11:11 AM
Can anyone recommend C and C++ books for linux??? CruelEssence Linux - Newbie 4 02-07-2004 08:27 PM
Please recommend a KVM for Linux and XP bg4533 Linux - Hardware 2 11-15-2003 02:05 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration