TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learn Python the Hard Way

240 pointsby colundabout 10 years ago

21 comments

bluerailabout 10 years ago
Thank you Zed Shaw.. This is an excellent resource that has helped me to become what I am today.. I started learning Python using this book and he really takes time to ensure the readers understand what they are doing.<p>It may be too silly for you programmers, but almost every beginner programmers as me would have definitely cam across this resource. This has helped innumberable and I&#x27;m sure it will.. Thanks once again.
评论 #9277037 未加载
评论 #9276996 未加载
yitchelleabout 10 years ago
It is interesting that one of the way Zed advocates for learning is to type, (instead of copy and paste), the code into the computer. That reminds me when I was cutting my teeth at my introduction to computers. I would get computer magazines like Compute! and type in the 100s of lines of code that comes with it. Especially the arcade games listing. I think this method also improve my debugging skills as I was tracking down the error (usually I did not type in the code properly or there was a misprint in the magazine).
评论 #9275836 未加载
评论 #9276096 未加载
snlacksabout 10 years ago
I didn&#x27;t start with Zed&#x27;s stuff, but I checked it out when I was interested in Python.<p>For someone like me, it would have been really fun when I was less experienced. I would have liked the repetitive challenges while I was doing them, because I would have challenged my self to go through them as fast as a I could and gamify it (though it wouldn&#x27;t have been called gamification back then). It would have got me to memorize things.<p>His books are different, I appreciate another take on them. I would read and follow along with his books if they fit my needs now. I&#x27;ve recommended him a couple times to people I thought would benefit from that style.<p>As to his personality, I think most people are jerks sometimes, and not jerks at other times. We all have our issues. :)<p>Generally, I feel that all the conversations about it much more harmful to the profession than the original instances being discussed.
评论 #9277043 未加载
dsegoabout 10 years ago
If you know anything about programming, skip this book. If you don&#x27;t know anything about programming, also skip this book. It gives you drills without explaining anything. My SO started learning with this book and I could see the book only caused confusion. She completely misunderstood how functions and function invocation work. And his way of teaching boolean logic is to memorize truth tables, wtf?
评论 #9275904 未加载
评论 #9275919 未加载
评论 #9276462 未加载
评论 #9276076 未加载
评论 #9275837 未加载
drumlabout 10 years ago
I have been waiting for the completion of Learn C the Hard Way for a while, BTW.
评论 #9277067 未加载
评论 #9275627 未加载
koshakabout 10 years ago
Python 2.5.1<p>Python 2.6.5<p>no use of context managers when working with files<p>no use of format when working with text formatting and output<p>&quot;Avoid any project that mentions &quot;Python 3&quot;&quot;<p>&quot;Every if-statement must have an else&quot;<p>no list|dict|generator|set comprehensions.<p>no idiomatic hints<p>no gotchas.<p>Definitely a hard way.<p>Having learnt wrong leads to hard learning to do right.
评论 #9277206 未加载
cjf4about 10 years ago
Having actually used this as a self learning tool, my feelings were mixed. On one hand, I think it&#x27;s organized and clear. On the other, I found it&#x27;s drill approach to be ineffective for me.<p>I think reps are really good for something that uses muscle memory, like shooting 3s or dicing an onion. However, I found for learning programming, I got a lot more mileage out of teaching methods that have set up a solvable problem, point you in the right direction, but leave it to me to create a solution.
ghost91about 10 years ago
And still not using python3.X …
评论 #9275488 未加载
评论 #9277119 未加载
评论 #9275782 未加载
brudgersabout 10 years ago
Scott Hanselman&#x27;s great podcast interview with Zed Shaw:<p><a href="http://hanselminutes.com/407/learning-code-the-hard-way-with-zed-shaw" rel="nofollow">http:&#x2F;&#x2F;hanselminutes.com&#x2F;407&#x2F;learning-code-the-hard-way-with...</a>
arafaabout 10 years ago
I went through this whole class when it was linked here a couple of months back and really enjoyed it. I&#x27;m a self-taught programmer that needed updates on some modern concepts and a refresher on some other stuff, plus a bit of help with Python syntax. If you&#x27;re like me (or a beginner) it&#x27;s great. Thanks Zed.
thebouvabout 10 years ago
I have no idea who Zed Shaw is. I&#x27;ve always wanted to know more about Python. Might give it an unbiased read through.
评论 #9276807 未加载
cdnsteveabout 10 years ago
Loved the &quot;A Warning for the Smarties&quot; part.
ianamartinabout 10 years ago
Ummm, I don&#x27;t understand all the dislike. For someone with my background, this was absolutely perfect. It&#x27;s one of the very first things I read when I decided I wanted to learn Python. Fast forward several years, and now writing Python code is what I do for a living. I could not be happier.<p>I was a violinist, and Zed Shaw&#x27;s way of teaching the basics completely resonated with me.<p>Thank you, Zed.
dmkmzabout 10 years ago
Hello Zed. I didn&#x27;t actually read whole LPTHW, but LCTHW helped me a lot. I recommended LPTHW to some friends of mine, who were interesting in programming but had no experience at all. Few years later and they are doing programming for living. I personally think it&#x27;s a good source for a newbie to start with. Keep going with your job and thanks.
pknerdabout 10 years ago
Sorry for being OT but I would request Zedshaw to write next book about Go Language.
napoluxabout 10 years ago
So, is it good or not? :D
评论 #9275494 未加载
评论 #9278335 未加载
评论 #9275478 未加载
munchhausenabout 10 years ago
So I&#x27;m scrolling through this comment section, thinking, &quot;Are we ever going to talk about the book or what?&quot;.<p>This thread is proof that programmer types need their share of celebrity gossip as much as anyone :)<p>&quot;That Zed Shaw. He&#x27;s abrasive, but is he too abrasive? Tune in to our panel discussion to find out!&quot;
评论 #9275878 未加载
las_casesabout 10 years ago
Wow, how come Zed Shaw manages to attract so much hate? I have found his series to be absolutely delightful. Anytime something about him appears on HN I can be sure there will be users with ad hominem attacks like this:<p>&quot;&gt; is this a joke?<p>No, just written by Zed Shaw. Honest mistake though.&quot;<p>How about you let go of the hate and embrace some love instead for the work this man has put forth?<p>LE: For advanced Python you can read his code from the Lamson project. I am sure there are many other coders out there who are just as talented as he is but he takes the time to comment his code and also has a style of clarity so to speak. Thank you Mr. Shaw for your work and thank you to all of the amazing, talented coders out there who gave me confidence and helped me to learn.
评论 #9275646 未加载
评论 #9275652 未加载
评论 #9276436 未加载
评论 #9275547 未加载
评论 #9276482 未加载
评论 #9275797 未加载
评论 #9276173 未加载
评论 #9276583 未加载
评论 #9275598 未加载
评论 #9276501 未加载
评论 #9276846 未加载
评论 #9275603 未加载
Psion7about 10 years ago
Why is this at the top of HN? Didn&#x27;t the 3rd edition come out ages ago? What exactly is new?
评论 #9275811 未加载
评论 #9276038 未加载
dsegoabout 10 years ago
ah, Python, the language where you have to learn for in range() before even knowing functions or lists. Just memorize this, we&#x27;ll explain it later...
评论 #9275835 未加载
评论 #9276119 未加载
QuercusMaxabout 10 years ago
After reading the Intro and first chapter - is this a joke?
评论 #9275456 未加载
评论 #9275532 未加载
评论 #9275430 未加载
评论 #9275620 未加载
评论 #9275712 未加载
评论 #9275433 未加载