good programming language

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

good programming language

Postby Mr. Rogers » Wed Oct 27, 2004 2:25 pm

What would be a good programming language to get started in? i like web/networking stuff so maybe something in that. i've heard python is good, but i don't have a clue where to get started ^_^;;
User avatar
Mr. Rogers
 
Posts: 1512
Joined: Sat Sep 06, 2003 10:23 pm
Location: Chicago, IL

Postby Mithrandir » Wed Oct 27, 2004 2:28 pm

If you want one language that can do both web AND networking (system admin, etc) stuff, then I'd recommend perl. It's easy to learn as a first language, and it is VERY usefull. I know quite a few people here will agree it's a good language to start with too.

If you were going into programming as a discipline, then maybe C++ would be a better choice, but I've yet to run across a problem I can't solve with Perl.

If we knew exactly what you wanted to do, it might help us narrow down the field a bit more for you.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby LorentzForce » Wed Oct 27, 2004 3:23 pm

I agree with oldphil and say; Perl perl perl perl perl :P Not because I'm a fan of Perl language, but because it's a good language. And good to learn too.

After that do some PHP. You'll find it's remarkably similar to perl.

C++ will have to come later. That language can confuse a many young programmers :) It'll be a while until you can appreciate the power of C++ without getting frustrated at handling it.

Oh yeah, stay away from Javascript unless you REALLY need it. Only thing good for Javascript is making the client's computer do the processing, and that's a very rare thing to achieve in many sites. Maybe open a new window, but you can do that with normal HTML anyway.
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby blkmage » Wed Oct 27, 2004 7:04 pm

Python is good. It's really easy to read and easy to learn. It's also useful.
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby TheMelodyMaker » Wed Oct 27, 2004 10:14 pm

I could recommend some version of BASIC because it's easy to read and understand -- but I don't want to start a debate over it. Different languages are for different people.
[color=RoyalBlue]@)}~`,~ [/color]Carry this rose in your signature as thanks to Inkhana, for all she has done for us in the past.Even though she is no longer a moderator, she has done an awful lot for us while she was and she deserves thanks. ^_^
TheMelodyMaker
 
Posts: 1904
Joined: Sun Jul 20, 2003 10:13 pm

Postby Mr. Rogers » Thu Oct 28, 2004 1:47 am

thanks for your help. i found a perl book and ill start with that. after that ill do some php and more web stuff i guess.
User avatar
Mr. Rogers
 
Posts: 1512
Joined: Sat Sep 06, 2003 10:23 pm
Location: Chicago, IL

Postby LorentzForce » Thu Oct 28, 2004 2:44 am

I coded in BASIC before I spoke a single proper sentence of English...

And I mean it. I was taught to program before I learnt English :P Probably why my way of thinking during coding is so much more absurd than many other people.

That said, BASIC too is good as a beginner's language. I mean, gees, it's in the name. It's unfortunate that it has very bad organisational possibilities in it, especially when you just coded 5MB of code without comments. Eww, goto statements. At least in GW-BASIC it was so often used...

[edit] Get away from that copy of Visual BASIC. Now. Use a tong, put it in your microwave oven, and throw that out while it's powered on. Then throw the tong away too. Take a very hot shower.

Good on you sldr. Perl is a good start :)
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Technomancer » Thu Oct 28, 2004 8:21 am

BASIC is a pretty good language to get started with, and is what I first learned myself. However, like Lorentz mentioned, it does allow you to develop some bad habits. A better language to start with I think is PASCAL, which is also easy to read but enforces good discipline. There is a visually oriented version of it as well called "Delphi".
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby Mithrandir » Thu Oct 28, 2004 9:06 am

Geeze TM, you'd think we grew up together. I started out with BASIC, then wen't to pascal, then to Delphi. I just couldn't do enough back end system stuff with it, so I moved to perl. Then again, I also picked up a lot of other tools along the way, and just use the one's I need.

I stand by my statement that you should learn a language you'll use - and if you aren't going into coding full time, you'll not really need C. Pascal is a great language to learn, and it teaches you great fundamentals - same with basic - but in my mind that's an academic vs production question. This person seems to want to to production, therefore perl. QED. ;)

And he's learning perl now. MWUHUHAHAHAHA! Everyone will be converted in the end!!!
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Technomancer » Thu Oct 28, 2004 9:58 am

And he's learning perl now. MWUHUHAHAHAHA! Everyone will be converted in the end!!!


Fie! Show me a perl script that can calculate EM waveguide propagation problems quickly and then maybe I'll be convinced. 'Till then I'll always be a holdout :P
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby Kaligraphic » Thu Oct 28, 2004 6:27 pm

I'd say learn assembly. Not so much for the utility, as for the fact that I double as a sadistic {okay, why is B-----d censored?}. :)

Seriously, I like PHP for a starting language, maybe contrasted with something else for the experience of typed variable declarations. (personally, I started with C++, which is a nice enough language but you can run into all sorts of memory management mischeif.)
The cake used to be a lie like you, but then it took a portal to the deception core.
User avatar
Kaligraphic
 
Posts: 2002
Joined: Wed Jul 21, 2004 12:00 pm
Location: The catbox of DOOM!

Postby shooraijin » Fri Oct 29, 2004 12:59 am

Because it's considered a rude word? :shady:
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9928
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby skynes » Fri Oct 29, 2004 1:35 am

PERL..... it's as BASIC as BASIC.

For those who get that - lol.

For those who don't - Forget about it...
I am the Reaper of Souls... and it's harvest time.

Image
User avatar
skynes
 
Posts: 742
Joined: Mon Mar 01, 2004 8:39 am
Location: N Ireland

Postby Mithrandir » Fri Oct 29, 2004 7:08 am

Kaligraphic wrote:Seriously, I like PHP for a starting language

Perhaps if he was ONLY going to be doing web stuff, but I think he said he wanted something more robust. PHP started as a web language, and all the otherstuff was ad hoc 'd into it. Perl on the other hand started out as a 'duct tape' language, and it's grown steadily into a mature language with a fairly large number of different uses...

Of course, it's both moot and academic at this point. ;)
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Mr. Rogers » Wed Nov 03, 2004 4:11 pm

anyone happen to know of any good books or resources for learning Perl?
User avatar
Mr. Rogers
 
Posts: 1512
Joined: Sat Sep 06, 2003 10:23 pm
Location: Chicago, IL

Postby blkmage » Wed Nov 03, 2004 5:15 pm

Learning Perl and Programming Perl (the llama book and the camel book) from O'Reilly and Associates.
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby Mithrandir » Wed Nov 03, 2004 9:17 pm

Black mage is right, and I would recommend them in that order. The camel book is great, but Larry would probably be the first to tell you it's a reference book, not a "learner's" book. LP is much more elegant at that. Now then, once you have learned, and need a reference - then go camel. In fact, if you've picked it up mostly by editing other people's stuff, then the camel is a good starting point.

Or, if you're formally trained in CS...
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Mr. Rogers » Wed Nov 03, 2004 10:50 pm

learning perl.....2nd edition or 3rd? seems some people like 2nd better, but its for version 5.004 and the current version is like 5.8 or something. maybe t doesn't matter, i dunno.
User avatar
Mr. Rogers
 
Posts: 1512
Joined: Sat Sep 06, 2003 10:23 pm
Location: Chicago, IL

Postby Mithrandir » Thu Nov 04, 2004 11:07 am

2nd edition is cheaper (usually) but you won't learn the "cool new stuff." I think that's irrelevent, though, since work is being done on Perl 6 as week speak, er type. I would recommend the 2nd ed for now to get a feel for perl as a language; if you find you really like perl, when 6 comes out you can get that book, and really learn it well.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 103 guests