Putting its rough “Early Release” nature aside, I had some mixed feelings about this book. I’ll try to explain it as follows:
Trostler talks about this (i.e., writing “testable” code), but not nearly at the length I was hoping for. Whereas Murphey kept her talk focused on adopting testable styles,3 Trostler’s book manages to be about writing testable code and writing tests and running tests and automating and more. Given the title, I was expecting him to go deep into that functional style, to really meditate about decomposing functions into discrete units, to wax philosophical (and practical!) about how to reason about problems, etc. And it wasn’t even that this was missing, just that he was more/less finished talking about that by (say…) Chapter 3.
So that being said:
My hat is off to Trostler for furthering the conversation; and/but: his editor has some work ahead of them both.
(Note: for once I did not receive an electronic copy in exchange for writing a review; this one I wrote because I felt like it.)
- I promise? [↩]
- Granted: it was a one hour talk, so… much more focused. [↩]
- Check out this video with Ilya Grigorik and Peter Lubbers for an interesting discussion about HAR. (Optionally: Ilya’s accompanying blog post.) [↩]
- I’ve come to prefer Jasmine, and so naturally I’m annoyed that my favorite testing tool is included in the strangest possible manner. [↩]
- Lead author of Buster.js. [↩]
- But I don’t know for sure… I haven’t read it myself. [↩]