LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


View Poll Results: Best Beginning programing lanquage?
C++ 41 15.53%
C 72 27.27%
C# 2 0.76%
Python 47 17.80%
VB 9 3.41%
Pascal 11 4.17%
Java 26 9.85%
lisp 9 3.41%
Basic 16 6.06%
other 31 11.74%
Voters: 264. You may not vote on this poll

Reply
  Search this Thread
Old 07-04-2007, 09:10 AM   #76
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43

Quote:
Originally Posted by chrism01
Actually, Perl is easy to learn I'd say if you get the Llama book.
I think you mean, the Camel book?
 
Old 07-05-2007, 12:49 AM   #77
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Actually, no, although I know what you mean. The Llama book is 'Learning Perl', definitely more suited for a beginner.
For anyone else, Camel book is 'Programming Perl', more or less lang definiton, plus some advice and examples.
These days (assuming net access) I'd go with Llama + link I supplied previously, although I must say that the Bighorn book (Perl Cookbook) is worth it's weight in gold for example probs/solutions & reasons why.
 
Old 09-03-2007, 05:15 AM   #78
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
I did a bit of visual basic at the start but havnt touched it since.
C was the first serious language I learned. Its good to start at the bottom before
you do any object-oriented stuff.
Scheme (or Lisp in general) is great fun but you have to think hard cos its so abstract (no loops, only recursion) and it isnt the most productive language.
Perl is overrated.
I heard lots of good things about python from friends, but I havnt taken the time to learn it myself.

Last edited by samwise17; 09-03-2007 at 05:16 AM.
 
Old 09-03-2007, 05:56 PM   #79
pengu
Member
 
Registered: Dec 2005
Location: Canton, GA, USA
Distribution: Ubuntu 7.10, FreeBSD, Debian
Posts: 207

Rep: Reputation: 30
i started c++, i wouldnt do it any other way

btw, if you dont know, c++ is c with objects

the beauty of c++ is once you have learned that, your done

the book i used to learn c++ was (and is) C++ From the Ground Up (publisher: osborne, author: herbert schildt)

I now know vb (6 and .net) java, and javascipt

If you start c, then any book you buy will tell you nothing about objects (object oriented programming is the future) so start c++ and you will start writing programs that are basicly c, then later you will be introduced to objects.

I love that i started C++, whatever programming language i turn myself to i already know.
 
Old 09-04-2007, 06:05 AM   #80
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
Hmm some people think you should learn the high-level, object oriented stuff first, others prefer learning basic procedural languages before using more abstract ones. Top-down versus bottom-up. C definitely teaches you more about how a computer works, manually allocating memory and having to write your own data types, interfaces etc.
 
Old 09-04-2007, 09:00 PM   #81
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
I definitely agree understanding C is a good idea, for background knowledge if nothing else.
OTOH though, might be a little heavy going for a complete beginner.
A slightly 'higher-level' lang might be easier to start with whilst learning basic concepts like variables, loops, decisions, subs/functions.
 
Old 09-05-2007, 03:30 AM   #82
Grife
Member
 
Registered: Oct 2006
Location: Finland
Distribution: openSUSE
Posts: 89

Rep: Reputation: 15
I say C++, because it's object-oriented, wide-spread and at least I think it's easier to comprehend than Java which would otherwise be the thing to learn first. I dunno, Java just seems cluttered, or maybe I've been reading the wrong book.
 
Old 09-05-2007, 10:40 AM   #83
atulsvasu
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 49

Rep: Reputation: 15
The question is about best, for someone who doesn't know programming.
Any language with simple syntax would do.

C++ is not very simple like BASIC, but IO is pretty straightforward
and not frightening(to a beginner) like C.

Idea of datatypes is important, BASIC has it really screwed up.
C++ has a really strong typing system.

PHP/Perl etc are not really general purpose, of course those can be
good too for a beginner due to ease of use. C++ is general purpose

Interpreted languages won't teach enough basics of a compiler, so
first guy should preferably go with C++. I learned in BASIC,
found it strange to compile code before running it when I learned C++.
 
Old 09-05-2007, 05:04 PM   #84
Ryupower
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 16
I heard that Perl was very easy, so that'd be good for beginners. However, I didn't know that and am studying c++ right now. o.o
 
Old 09-05-2007, 08:10 PM   #85
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
"Perl is not general purpose" ??
Can you explain that?
 
Old 09-06-2007, 01:42 AM   #86
atulsvasu
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by chrism01 View Post
"Perl is not general purpose" ??
Can you explain that?
I can't write an O.S. using only Perl.
 
Old 09-06-2007, 06:13 AM   #87
Caesar Tjalbo
Member
 
Registered: Aug 2006
Location: Ņuņoa
Distribution: KaOS
Posts: 94

Rep: Reputation: 16
Post

Quote:
Best Beginner programing language...
I say the language is an interesting angle but so is looking at the beginner. If the beginner is more interested in web development than desktop programming, for example, advising C++ may well lead to disappointment while PHP may lead to more interest in programming in general. If learning about the internals of a computer is the goal, then C seems more appropriate than Python imho.

Another point is how much 'backup' the beginner can get. When I started with BASIC on the first computer my dad bought, a guy in the neighborhood who was a little older was in the same situation. At first we both went slow but then a mix of competition and cooperation made us cracks in GW-BASIC (yay! ) in no time. He'd figure out something cool, show it to me and I used it for something differently and went back to him to proudly show my findings, which he then... etc.

Being a bit more experienced now, I'd want to recommend a language that is very versatile. What I mean is that for learning programming essentials, most languages will do. It gets more interesting if you can use the strengths of other languages once you're past the beginners level. You can teach C++ to a COBOL programmer but it takes more to make a C++ programmer out of a COBOL programmer so I think it helps if a beginner is not locked-in into a certain way of thinking. The COBOL way of dealing with data is going through it sequentially where the C++ programmer would perhaps juggle some objects and the Lisp programmer processes lists. Ideally a programmer understands the problem and applies the best solution, where a given language (among other things) obviously places some boundaries on what's possible but I think the ability to look beyond a typical approach is important and it helps to start with a broad scope as early as possible.

So what then? I guess C and C++ because it covers a lot and other languages are relatively easy from there on (well, try Befunge or so ) or start 'easy' with Java, Python or Ruby and if the need for more power arises then the essentials are covered well and moving to C(++) isn't such a huge leap anymore. I'd prefer starting with C++ but it depends imho on the beginner.
 
Old 09-17-2007, 09:59 AM   #88
gauthamk
Member
 
Registered: Jun 2007
Location: Chennai-India
Posts: 39

Rep: Reputation: 15
Hi i vote for c.It is good programming language for beginners. If u understood c well u will definitely understand any language.
 
Old 09-17-2007, 09:33 PM   #89
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,834

Rep: Reputation: 108Reputation: 108
Your starting point is wrong

Quote:
Originally Posted by computer_tom View Post
i am on win xp home and want to learn a programing language. i know html and hav no idea where to go from here. any help?
Stop Using XP. This is the first step. Stay away from evil gates.

BASIC used to be a good one when it was developed in Dartmouth. Then somebody screwed up.

Same guy tried to screw up JAVA, and went halfway, now coming back.

Stay with Penguin world, nix world, Darwin....

Happy Penguins!
 
Old 09-19-2007, 08:08 AM   #90
chandru.in
Member
 
Registered: Jun 2005
Posts: 167

Rep: Reputation: 30
Cool Java is the right balance

I believe just because someone is beginner doesn't mean he need not deal with real world problems in programming. At the same time, if too much of complexity is thrown at him he may hate programming and leave it altogether.

Python and other dynamically typed scripting language suffer from the first problem. Due to loose type checking a beginner may overlook the maintenance problems caused by it.

On the other hand while C and C++ are extremely powerful and have the best syntax in my opinion, they are too complex for a beginner. He might not find it easy to learn pointers and other problems caused by lack of boundary checking in arrays.

Java strikes the balance between the two scenarios. It is strongly typed and still much simpler than C/C++. But it does lack the access to bare metal.

So a beginner can start with Java then move on to C/C++. Later he can learn and use python and other scripting languages for quick prototyping of programs.

Another advantage of learning Java is its widespread acceptance. Even if the person learns nothing more than Java he can do pretty powerful programs.
 
  


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
Getting Started with Programing dosnlinux Linux - Software 5 04-29-2005 03:28 PM
Programing in Linux jimbob1989 Programming 1 10-10-2004 10:53 AM
Programing language to access MySQL patpawlowski Programming 9 01-27-2004 04:07 PM
Kernal Programing FBD Programming 3 02-02-2002 12:40 AM
telnet programing kobilevi Programming 2 02-26-2001 01:38 AM

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

All times are GMT -5. The time now is 02:20 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