News for hackers. Stuff that matters.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by pavelludiq on Saturday April 24, 2010 @03:37PM (#1291447)
Mr. Shaw, i am once again impressed. This is not the first time I've seen Zed Shaw rant about something he dislikes and then goes off and attempts to fix it.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by zedshaw on Saturday April 24, 2010 @07:31PM (#1291765)
Thank you. Even though I complain about things, if I think I can fix it I usually do.
[deleted]
Re:Zed Shaw is Writing A Book Teaching Beginner Python by nhebb on Saturday April 24, 2010 @04:16PM (#1291491)
So far, the exercises do look like their targeted to the total beginner, but my money is that most programmers learn Python as their nth language, where n > 2. I say "so far" in hopes that he eventually gets enough exercises in the book that the material included now is just a small part of the finished work.

Doh! VB index alert: The exercises are 0-based and the steps are 1-based. ;-)

Re:Zed Shaw is Writing A Book Teaching Beginner Python by paulitex on Saturday April 24, 2010 @04:23PM (#1291499)
"but my money is that most programmers learn Python as their nth language, where n > 2."

Off the top of my head, I know at least 3 Universities (near me in Canada: UBC, SFU, UofC) that have recently switched to Python as the first language taught/used in their CS programs.

There is a real demand for intro Python books. And IMHO Python is a pretty good first language.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by Psyonic on Saturday April 24, 2010 @05:02PM (#1291559)
MIT recently switched from Scheme to Python for their intro class
Re:Zed Shaw is Writing A Book Teaching Beginner Python by grinich on Saturday April 24, 2010 @07:52PM (#1291801)
Algorithms is also taught in Python.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by mhartl on Tuesday April 27, 2010 @05:29PM (#1299804)
Caltech, too.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by what on Saturday April 24, 2010 @05:05PM (#1291563)
UToronto switched from Java to Python a couple years ago.

I wonder what my high school is using, they started us with BASIC, then Java and finally a little C... I was pretty well prepared for first year.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by froo on Saturday April 24, 2010 @11:25PM (#1292078)
I think the Head First series is actually quite good for teaching Python as a first language.

I recently purchased the Python one (it's just called Head First Programming from memory) for a friend who wanted to start with coding and she picked the basic concepts up pretty quickly.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by foenix on Saturday April 24, 2010 @07:31PM (#1291767)
SFU still requires their students to learn Java. Python is the introductory programming language of choice, and the introductory programming course is centered around it, but it isn't a requirement. (reference: http://www.cs.sfu.ca/undergrad/Advising/programs/majors.html ; I'm also close to the associate dean).

That being said, Python is a wonderful language to get started in programming.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by nhebb on Saturday April 24, 2010 @11:53PM (#1292116)
So apparently the smart money finds out what I'm betting on and bets the other way. :-)
Re:Zed Shaw is Writing A Book Teaching Beginner Python by cdr on Saturday April 24, 2010 @06:15PM (#1291663)
Python really does seem to be a strong contender for the post-Java university language. IIRC they were looking into it at my alma mater.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by zedshaw on Saturday April 24, 2010 @07:33PM (#1291770)
My thinking is actually this: Python is a weird language that sits between C and Smalltalk It has odd idioms from C and strange constructs from Smalltalk which you don't really find in other languages. It's also very easy to type with a lot less "signpost junk" in it. My idea (totally unfounded) is that will make it easier for people to type it in, and also teach them the little secret idioms found in languages on both ends of the spectrum.

Also, there will be a few jokes about cardinal vs. ordinal numbers.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by dirkstoop on Saturday April 24, 2010 @04:43PM (#1291527)
Re. n>2:

Except for some dabling in basic, max/msp and some proprietary scripting stuff, Python was the first language I learned. It was certainly the first one I learned to program in.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by oops on Saturday April 24, 2010 @11:20PM (#1292073)
Coming to Python with previous programming experience, I was impressed by the Google Python Class. It feels like it crammed my usual first few weeks/months of "oh you can do it like that" moments into a couple of hours. Which makes sense as I believe it's what they give to new hires there who don't already know Python.

FWIW I didn't watch the videos, I just read over the webpages.

http://code.google.com/edu/languages/google-python-class/

Looking forward to reading Zed's book too.

Re:Zed Shaw is Writing A Book Teaching Beginner Python by nfnaaron on Saturday April 24, 2010 @06:18PM (#1291667)
Anecdote of one, my 12 yo son is learning Python as his first programming language. I just helped him through one of his math homework questions in Python; found a homework error. :)
Re:Zed Shaw is Writing A Book Teaching Beginner Python by dandelany on Saturday April 24, 2010 @04:57PM (#1291553)
I was taught python in my first programming class. It's a large part of the reason I graduated with Computer Science degree.
Re:Zed Shaw is Writing A Book Teaching Beginner Python by kmak on Saturday April 24, 2010 @05:11PM (#1291571)
A few weeks ago, I finally gave in and tried to learn Python. It is surprisingly easier to learn. From a guy with mostly C and Perl experience, it takes good parts from both. I was writing code in only a few days. It's also easier with StackOverflow and Google, of course!
Re:Zed Shaw is Writing A Book Teaching Beginner Python by projectileboy on Sunday April 25, 2010 @02:09PM (#1293150)
Agreed. I've whinged about Zed's whinging in the past, but it's another thing to create something. Kudos to Mr. Shaw.