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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
09-30-2005, 06:02 PM
|
#1
|
Member
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59
Rep:
|
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
|
|
|
09-30-2005, 06:09 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Rep: ![Reputation: Disabled](https://www.linuxquestions.org/questions/images/reputation/reputation_off.gif)
|
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.
|
|
|
10-01-2005, 08:57 AM
|
#3
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536
Rep: ![Reputation: 111](https://www.linuxquestions.org/questions/images/reputation/reputation_pos.gif)
|
Here's another vote for Python.
|
|
|
10-01-2005, 09:18 AM
|
#4
|
Member
Registered: Feb 2005
Location: Newcastle, England
Distribution: SuSE Pro 9.2
Posts: 35
Rep:
|
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.
|
|
|
10-01-2005, 11:59 AM
|
#5
|
LQ Newbie
Registered: Sep 2005
Distribution: Arch
Posts: 19
Rep:
|
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.
|
|
|
10-03-2005, 09:54 AM
|
#6
|
Member
Registered: Jun 2003
Location: Oklahoma
Distribution: Gentoo
Posts: 117
Rep:
|
I would have to say Java.
Last edited by gabebster; 10-03-2005 at 09:56 AM.
|
|
|
10-18-2005, 04:28 PM
|
#7
|
Member
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143
Rep:
|
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!
|
|
|
10-18-2005, 05:09 PM
|
#8
|
Member
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117
Rep:
|
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
|
|
|
10-18-2005, 05:18 PM
|
#9
|
Member
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143
Rep:
|
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.
|
|
|
10-18-2005, 05:31 PM
|
#10
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
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.
|
|
|
10-18-2005, 05:35 PM
|
#11
|
Member
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117
Rep:
|
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.
|
|
|
10-18-2005, 05:39 PM
|
#12
|
Member
Registered: Jun 2004
Location: Sierra Vista, AZ
Distribution: SUSE 10.0 OSS
Posts: 143
Rep:
|
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.
|
|
|
10-18-2005, 07:32 PM
|
#13
|
Member
Registered: Sep 2004
Location: UK
Distribution: Ubuntu
Posts: 117
Rep:
|
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
|
|
|
10-19-2005, 01:17 AM
|
#14
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,418
|
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.
|
|
|
All times are GMT -5. The time now is 08:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|