LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-25-2007, 09:41 AM   #1
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
Question Learning Programming


What applications and programming languages would you recommend as being the most useful to learn programming?

For example, the project to work on would be creating something like one of those football manager games. Here would be an extremely simple example of something that i would work on and make more complex:

Randomly generate "Players" and give them names.
Allocate attributes to players with numeric values, eg skill
Create an interface for the manager to browse available players and choose them.
Add up the total skill of the chosen team.
Compare it to the total skill of another team.
Use the skill difference to randomly generate a chance of a goal occuring every 5 minutes.
Print the result of the game as it occurs.
Print the final score.

That sort of thing.

What do you reckon?

Please help
 
Old 11-25-2007, 09:50 AM   #2
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
I suggest you to begin with Java which can be used under Windows, Linux and other systems.
 
Old 11-25-2007, 09:59 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
If you just want to start writing code, you might want to try Python. If you want to become a serious programmer, I would say start with C.
 
Old 11-25-2007, 10:15 AM   #4
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
If you want to learn Java, google for a program called "Eclipse", that should get you started, it might even be in the repository I'm not sure :S

Regards
 
Old 11-25-2007, 12:58 PM   #5
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Question

I got eclipse going - it is very nice. I was even able to follow the "hello world" tutorial and got it to run properly! This is great

Now, where are some more nice tutorials for learning java, that help me get used to working in eclipse and programming in java?
 
Old 11-25-2007, 01:22 PM   #6
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
You can try Suns' tutorials

http://java.sun.com/docs/books/tutorial/

But to be honest, the best place is google http://www.google.co.uk/search?hl=en...e+Search&meta=

Also try looking for some cheap books on eBay, look for some Java Discussion forums/IRC channels


Hope this helps

Regards
 
Old 11-25-2007, 03:04 PM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I also would recommend Python for an overall starting point, or C if you've got more serious interest.

EDIT: Python, like Java, is not platform-dependent, but it's not a compiled language like Java so your programs are even faster and easier to test and debug.
 
Old 11-25-2007, 06:35 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Not totally true -- Python uses just in time compilation, i.e. code gets compiled when you try to run it. The python program creates a .pyc file which is the compiled code. If you don't change the original .py source, python will just yse the .pyc and not have to recompile the program, making subsequent executions faster. I believe .NET does something similar, but am not totally sure...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Learning Programming yeehi SUSE / openSUSE 10 11-25-2007 09:33 AM
Learning C Programming Trizon Programming 8 03-30-2007 01:37 PM
learning programming nin881 Programming 13 10-19-2005 01:17 AM
C programming learning introuble Programming 7 01-03-2005 12:55 PM
Help with learning drivers programming! fbarre Linux - General 6 09-13-2003 07:50 PM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration