Re:Ask HN: What was your biggest regret about learning progr...
by markcmyers on Monday March 07, 2016 @03:26PM
(#11241356)
I'm interested in your Python book. What is the title?
Re:Ask HN: What was your biggest regret about learning progr...
by japhyr on Monday March 07, 2016 @04:09PM
(#11241703)
Python Crash Course: http://nostarchpress.com/pythoncrashcourse
Re:Ask HN: What was your biggest regret about learning progr...
by hanniabu on Tuesday March 08, 2016 @10:07AM
(#11245624)
Wow, I feel like I'm meeting a celebrity. I absolutely love your book! I'm about a third of the way through and love the flow and logical process you take when going through the lessons and what to teach in what order and you use great examples. Thank you so much for writing this Eric!
The idea of testing code was never covered in any of the introductory books I read. I learned the basics of C, Fortran, and Pascal while doing a physics undergrad in the 90's, then I learned Java and Python in the 00's on my own from books and websites. None of the introductory books I read introduced the concept of testing. It wasn't until I started reading programming blogs on a regular basis that I started writing tests for my code. Once I did, the quality of my code immediately improved and I felt much more confident in the code I wrote.
When I wrote an introductory Python text recently I included a chapter on the most basic aspects of testing. Beginners don't need to write tests for everything they write, but they should definitely be aware of the concept.