News for hackers. Stuff that matters.
Re:Sal Khan has started videos about Python by spicyj on Wednesday June 29, 2011 @07:52PM (#2711864)
I agree with you about the filename, I think PyDoc is probably overkill for something so simple. There's no reason to confuse new people with PyDoc. (Does Zed use PyDoc in LPTHW? No. (Except for the pydoc command suggested for reference.))
Re:Sal Khan has started videos about Python by Locke1689 on Wednesday June 29, 2011 @07:55PM (#2711873)
I'm not sure why PyDoc is so complicated: just explain it like a comment that you only put in certain places. You don't have to explain build tool integration or anything.
Re:Sal Khan has started videos about Python by spicyj on Wednesday June 29, 2011 @07:59PM (#2711887)
The video was trying to show a simple program; it's better for less syntax (often confusing for beginners) to have to be explained, at least at the start.
Re:Sal Khan has started videos about Python by Locke1689 on Wednesday June 29, 2011 @08:05PM (#2711908)
He could have just used the syntax for PyDoc and explained comments later.
Re:Sal Khan has started videos about Python by spicyj on Wednesday June 29, 2011 @08:23PM (#2711948)
Curious – Zed didn't use PyDoc, does that make his book bad too?
Re:Sal Khan has started videos about Python by Locke1689 on Thursday June 30, 2011 @10:42AM (#2714205)
Nope. I shouldn't have put those two things together because one is bad programming practice and the other is just a disagreement I have with his style.