LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2005, 06:02 PM   #1
nin881
Member
 
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59

Rep: Reputation: 15
learning programming


I want to do some Open Source programming and I was wondering what Languages should I use. I don't know any languages at the moment so I need something that I can begin with. C++ will be a little hard I suspect.

Thanks in advance,
Tom
 
Old 09-30-2005, 06:09 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Eric S. Raymond suggests python:

http://www.catb.org/~esr/faqs/hacker-howto.html

Quote:
1. Learn how to program.

This, of course, is the fundamental hacking skill. If you don't know any computer languages, I recommend starting with Python. It is cleanly designed, well documented, and relatively kind to beginners.
And I wholeheartedly agree. I learned C++ as a second language (after BASIC) in college, and it is not new-programmer-friendly, IMO.
 
Old 10-01-2005, 08:57 AM   #3
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Here's another vote for Python.
 
Old 10-01-2005, 09:18 AM   #4
harshnoise
Member
 
Registered: Feb 2005
Location: Newcastle, England
Distribution: SuSE Pro 9.2
Posts: 35

Rep: Reputation: 15
I learned Pascal first in college, didn't find it that bad. Probably a little old fashioned now but I think its mainly used as a teaching language now (according to my college teachers).

I must say though, I found Java very easy to learn when I started university but I didn't get my head round the whole object-oriented programming concept right away.
 
Old 10-01-2005, 11:59 AM   #5
Javasnob
LQ Newbie
 
Registered: Sep 2005
Distribution: Arch
Posts: 19

Rep: Reputation: 0
Python's great for a first language, IMHO, but I started on C++, which made my transition to Java extremely smooth. But the hacker guide is brilliant and beautiful.
 
Old 10-03-2005, 09:54 AM   #6
gabebster
Member
 
Registered: Jun 2003
Location: Oklahoma
Distribution: Gentoo
Posts: 117

Rep: Reputation: 15
I would have to say Java.

Last edited by gabebster; 10-03-2005 at 09:56 AM.
 
Old 10-18-2005, 04:28 PM   #7
SchadeBoy
Member
 
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143

Rep: Reputation: 15
I'm looking for a good platform to develop database applications with. I'm kind of hooked on MySQL for the backend, but I'd like to find a good front-end language to write in. Anyone got any suggestions for that?

I've been told PHP would be good, but my little bit of research on that has shown it's primarily a server-side scripting language. I need something that can run locally on a client.

Thanks!
 
Old 10-18-2005, 05:09 PM   #8
clb
Member
 
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117

Rep: Reputation: 16
C++ is a hard language to learn, but tends to be a little more useful in the long run I find.
Visual Basic is good, if you are willing to spend the money for the IDE, and be Windows Specific.
Python is nice, easy to learn, cross-platform ( I think) and highly expandible.
Java is cross-platform and powerful when you know how to use it.
You can run PHP locally, and you can even use it to write GTK applications with an extension if you wanted to.

Whats your target platform as this will make a huge differance to what languages you can use.

Chris
 
Old 10-18-2005, 05:18 PM   #9
SchadeBoy
Member
 
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143

Rep: Reputation: 15
My ultimate goal is to have a product that is easily portable within either Linux or Windows. Supposing the product I have in mind is acceptable to others, I'd like it to be available to the largest number of potential users. So a cross-platform language would be nice.

I would like something fairly robust and quick, and security will be a concern because I'll be dealing with confidential information (it's a gradebook, essentially). I agree that C++ is a hard language to learn. I've taken several classes on it, and I'm sure I killed many brain cells trying to understand the concept of a pointer and how to program them. But still, I can't help but think this may be the best option.

I'm pretty fluent in Visual Basic for Applications, but this is not a form of VB that can bused outside of MS Office apps. Currently, the app that I have makes extensive use of VB, but the biggest problem is that it's an Access application and very unportable. I'd like to change that.

Last edited by SchadeBoy; 10-18-2005 at 05:19 PM.
 
Old 10-18-2005, 05:31 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
I would suggest java as you can "easily" deploy desktop or web applications on any java enabled platforms without recompiling code. It is easier than C++ and teaches you some good habits.
You've got lots of librairies to help you and lots of documentation to get started.

I developped many desktop or web applications with java using mysql as database. Again good libraries make development a minor task.

Python seems an easy language. I didn't look a lot at it, but soon i will.

After you know the basics of the language of your choice you learn faster by creating a project or getting involved in an open source project.
 
Old 10-18-2005, 05:35 PM   #11
clb
Member
 
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117

Rep: Reputation: 16
Well, VB can be used with MySQl - and VB is about the only language I can think of that provides for simple graphical interfaces, but if you want multiple platforms then you are probably best going for Java, Python is fine too if you dont mind having your windows users installing the GTK runtimes.
 
Old 10-18-2005, 05:39 PM   #12
SchadeBoy
Member
 
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143

Rep: Reputation: 15
I have considered Java, but I wasn't sure if it could handle database access. Python was also on my list to look into. I don't mind if the users have to install the GTK runtimes. That can easily be made as part of the installer on a Windows box.

Thanks for the advice. I really don't have the time to learn a complicated language like C++. Java and Python both seem like languages I can learn as I get time. That's more or less how I ended up developing this Access database I have.
 
Old 10-18-2005, 07:32 PM   #13
clb
Member
 
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117

Rep: Reputation: 16
Learning Java seemed like a huge task to me - cant get my head around objects easily. Python is pretty good, but I have no idea about how to use PyGTK so youll have to find someone else there I'm afraid.

Chris
 
Old 10-19-2005, 01:17 AM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,418

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
Well, Perl is highly portable (& free) and cpan.org has many free modules that will interface with eg Access, Excel etc..
Try here or perlmonks.com for in depth qns.
I use it with MySQL at the moment, but it has driver modules for most DBs.
 
  


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
C programming learning introuble Programming 7 01-03-2005 12:55 PM
learning programming properly antken Programming 8 03-17-2004 11:18 PM
Help with learning drivers programming! fbarre Programming 1 09-16-2003 01:10 PM
Help with learning drivers programming! fbarre Linux - General 6 09-13-2003 07:50 PM
learning game programming FLuff_Suit Programming 2 05-07-2002 10:04 PM

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

All times are GMT -5. The time now is 08:34 PM.

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