I am trying to write a Python book
Once upon a time, I tried to write a book. It did not end well. I was trying to dump a whole lot of knowledge at once. Knowledge I did not really have, to be honest. When I look at that book I see a failed thing.
So, of course, many years later, I am trying again, but with the lessons learned in my mind.
It will be a smaller book.
I am not also writing a whole tool chain for it.
It will be about things I know.
So, what is it?
The temporary title, right now, is something like "Boxes: your second Python book". It says your second Python book because you do need a working knowledge of Python syntax as provided by the official Python Tutorial, but not much else. When there is a particularly hairy piece of code it may link to the tutorial or the reference or something.
The "idea" of the book is to bridge a gap that exists between knowing the basics of reading and writing a language (specially if it's your first!) and being able to effectively using it to create a useful project.
It follows the growth of "Boxes", a simplistic text layout engine, from a vague idea to a fully working, useful, tested, and published piece of software.
It's not there yet, but it's about 25% of the way there.
You can read it here: https://ralsina.gitlab.io/boxes-book/ and the sources are at https://gitlab.com/ralsina/boxes-book
Comments much appreciated!
Hi Roberto,
Your upcoming book looks very interesting. I think I just about fit into your target audience: I'm getting familiar with the basics of Python but am having difficulties translating this initial theoretical knowledge into working projects. I'm one of those people lacking the imagination to extrapolate from "Class Dog has 4 legs" to something that I can use in an actual program :)
I found the didactic approach refreshing and stimulating. I look forward to seeing how it progresses.
Cool :-)
I have the beginning of part 2 in place, although I have spent the last couple of days tweaking tools (and rewriting a couple of them)