You won’t find many book reviews on this blog (none actually – until now !) but I figured that this might be a good way to learn more about haXe. The book in question is referred to as a beginner’s guide. I don’t consider myself an absolute beginner but, with only a year’s experience with the language, I have much to learn. Besides, my main focus has been Flash development and there is a lot more to haXe than creating SWF files.
This was part of the appeal to learning haXe in the first place – to not be tied to a single platform and to equip myself with the skills and knowledge to diversify if and when I need to or want to.
So how does haXe 2; Beginner’s Guide help with this?
Well, I’ve started learning how to develop on the PHP target after studying this book. I’ve been planning on doing this anyway but now I’m a little ahead of myself. I also tried using SPOD for the first time (and think it is a great feature!). I was aware of SPOD before reading the book but the simple blog exercise in Chapters 8 and 9 made it very accessible to me – it turns out the basics are not that difficult after all.
Reading the book has also prompted me to look further into templating in haXe and I’m now considering using this feature to generate XML files for an upcoming project.
Would I have learnt about these features without reading this book? Probably. However, a book like this helps to accelerate learning by providing the relevant information to get started in a single place. It is hard to find the time to learn new things and I am more than happy to get help with this.
I found the book to be written in a very clear and accessible way and the information and advice contained in it is more than adequate to assist with getting started with haXe development.
The content of the book is also nicely structured – each chapter begins with a gentle intro to a topic that culminates with a ‘have-a-go-hero’ practical activity.
The book also follows a logical order with chapters building on what has been revealed in the preceding chapters – very conducive to learning being both continuous and progressive. This seems like an obvious thing to get right but isn’t always the case. I get a sense that a lot of thought has been put into it. It could work well as a textbook to teach programming through haXe in schools.
The book is far from being a definitive guide to haXe though, nor does it claim to be by the fact that it is marketed as a beginner’s guide. There is no mention of specific third party APIs although haxelib (a common repository for community libraries) is mentioned in the Preface. There is also no coverage of the CPP target but this is probably beyond the scope of an introductory book and really merits a book of it’s own.
So would I recommend this book?
Absolutely. This book is ideal for developers with no experience with haXe and also intermediate haXe developers with gaps in their knowledge and for those developers who are specialized in one area of haXe development but want to start broadening their knowledge.