Preferred: Python. clean, elegant, pure, simple, easy. Just fine: Ruby. good, but less simple and elegant than Python. Good if you want to deeply understand the principles of being a programmer but don't care about being very practical at the start: Lisp (yes, Lisp can be practical, but it's trouble for a newbie) Avoid: Perl, PHP, BASIC variants. These cause brain damage.
"Avoid: Perl, PHP, BASIC variants. These cause brain damage." Many perl mongers, myself among them, would disagree. But maybe the brain damage has set in and I can't judge properly. But, really, you're showing serious ignorance placing Perl in the same sentence as PHP and BASIC. Perl is on the power continuum somewhere just shy of Lisp, and along-side Ruby (possibly even above it; Perl 6 will place it squarely above…
What programming language should I start with?
61–70 of 117 posts
Re: What programming language should I start with?
#62Also, I think that Python's beginner documentation is better than Ruby's. The beginner books for Python are a bit easier to follow than the Pickaxe book. Sure, Why's Poignant Guide is fun, but unless you understand programming already, you'll probably be lost.
Ruby does have HacketyHack, which is fun and the tutorials are really well written, but it's still a little buggy. Some of the code examples in the tutorial are broken, causing a lot of frustration for a young noob. In another 6 months or a year, I'd suggest Ruby and HacketyHack, not right now, though.
Re: What programming language should I start with?
#63Just curious, but would anyone recommend Javascript?
JS is better as a second language, because of DOM issues. It's better for a beginner not to have to worry about those. It is very convenient for beginners because it's built into the browsers, and many people learn it concurrently with something else. You could do a lot worse than JS. For a first language, look at Python/Ruby and choose what you're most comfortable with.
Re: What programming language should I start with?
#64Python is certainly a good one (ruby as well) - "Learning Python" by Lutz & Ascher I think is suitable for someone like you (and it is not a bad reference as you get more experienced). Ruby can be a bit stranger, people like to be "clever" in ruby, and then there is the hype. As for mind expanding, I like scheme - as taught by MIT in the SICP series (you can watch the videos on google video). It would be interesting…
Alright, as much as I love Haskell, do not attempt to learn it as a first language. Repeat: do not attempt to learn it as a first language. That's like learning to swim by taking a submarine into the Marianas Trench and then opening the airlock.
Also, many "tricky" Haskell concepts (algebraic data types, lexical closures, first-class functions, programming without state) are actually quite logical if you've never been exposed to the C/Java way of programming.
Re: What programming language should I start with?
#65Do want to learn Web programming? PHP is probably the easiest programming language to learn for server-side web programming. I've read several books on PHP and looked over a bunch, and a lot are pretty good, but one of the best is this one: http://www.amazon.com/PHP-MySQL-Development-Developers-Libra...
come on, let's not get in the habit of modding someone down because we disagree with them.
Re: What programming language should I start with?
#66Just curious, but would anyone recommend Javascript?
I was also introduced to OO (of sorts) through JS... I perhaps wouldn't recommend this so much, it was incredibly confusing for me at first. I didn't have any real grounding in OO principles before I started though, so perhaps that would have helped.
Re: What programming language should I start with?
#67Earlier quoted context omitted.
"Avoid: Perl, PHP, BASIC variants. These cause brain damage." Many perl mongers, myself among them, would disagree. But maybe the brain damage has set in and I can't judge properly. But, really, you're showing serious ignorance placing Perl in the same sentence as PHP and BASIC. Perl is on the power continuum somewhere just shy of Lisp, and along-side Ruby (possibly even above it; Perl 6 will place it squarely above…
Agreed - I don't use Perl any more, having grown disillusioned with its messiness a long time ago, but it's certainly much more of a serious language than PHP.
Re: What programming language should I start with?
#68Earlier quoted context omitted.
Like what?
Dumping things into global variables. Using regexes to hammer anything vaguely resembling a nail. Thinking in for loops when you should be thinking in higher-level abstractions.
Re: What programming language should I start with?
#69Earlier quoted context omitted.
Try both and see which one feels better. For what it's worth, Ruby programmers are more in demand than python programmers.
"For what it's worth, Ruby programmers are more in demand than python programmers." Only in one small segment of the industry (the one that hangs out here). Python jobs in almost every other area are more common. And, of course, Perl is still more popular than both. And PHP and Java and C# dwarf all of the interesting languages.