New book: Hands-on Design Patterns and Best Practices with Julia

Hi, everyone! :wave:

I’m pleased announce that my first book Hands-on Design Patterns and Best Practices with Julia has been published. I want to thank everyone who helped me on Discourse / Slack before (too many to mention here). I also want to thank @StefanKarpinski for writing the forewords of this book.

Why another book?

I spent a ton of time in the past 9 months researching and writing about patterns used by other Julia experts. Not only was it a great learning experience, it is also something that I believe this community needs based upon various discussions here e.g.

I cannot say that this book has captured all the wisdom in this community, as that would have been an impossible task for such a short time frame. However, I strongly believe that it is a good time to start documenting design patterns for Julia a little more formally.

Something for you…

  1. I have published an excerpt about the Holy Traits pattern on my web site for your reading pleasure.

  2. I’m waiting for the publisher to set up a discount code. I hope that will be ready within the next few days and I’ll post an update here.

Happy reading! :slight_smile:

Tom

96 Likes

I just bought my copy. Nice! Thanks for putting this together.

Dear Tom,

Congratulations on the publication!

It is a pity the book wasn’t published in HTML. The Kindle version is not typeset well: messed up font sizes, weird sizing of images. On the other hand the sample chapter you published on the web is a real treat to read.

This is not intended to detract from the quality of the content, which I found to be high and an enjoyable read.

Best regards,

Petr

5 Likes

I bought from Packt today, as they had digital, DRM-free versions available:

9 Likes

The quality of a Kindle ebook seems to be ~ Uniform(0,1).

On the other hand, the ebooks direct from Packt are of pretty high quality (in my experience). And – I hope, for Tom’s sake – the US $5 price is likely a promotional offer, so …

At one point I was looking at publishing a math-y textbook on Kindle. When it got formatted it looked like something no one in their right mind would buy. :frowning:

I certainly bought the Packt book: at $5 it is a great deal. 82% off.

2 Likes

Thanks, this is great feedback! I will check with the publisher :slight_smile:

Interesting! I thought the $5 deal is a subscription. Perhaps they’re running a special at the moment. To be honest, I don’t expect to make much money from this anyways. I would be happy enough to reach more audience and see people benefit from it.

4 Likes

BTW, my site is built with Franklin.jl. It’s very easy to use and I love it.

10 Likes

Looks like all ebooks are currently $5.

1 Like

many thanks for the book!

Thanks, I’ll give it a read :slight_smile:

hello, how could I report typos?

Direct Message, Slack, or email would be fine. It’s easy to fix if the typo is in the blog post. It’s probably going to take a while to correct the book itself as it involves working with the publisher.

Many thanks.

2 Likes

Read it … had some pleasure … found it well comprehendable … bought the eBook (currently on discount at Packt!)

:smile:

3 Likes

@tk3369 I’m not quite 100 pages into the e-book yet and I can already see that I need to rethink some of my code :slightly_smiling_face: This is good stuff, thank you.

EDIT: I’m about halfway through and this is a really great book. JavaScript was my first programming language and Kyle Simpson’s book You Don’t Know JS was a real eye-opener and took my understanding of that language to a whole new level. I would almost argue that the title of this book is a bit misleading because it really provides the reader with an in-depth understanding of how Julia works, just like the Simpson book on JavaScript. Julia docs are generally really good but working through this book has really accelerated the process of gaining a deeper understanding of Julia!

8 Likes

Hi everyone - the publisher has agreed to a 20% discount for 30 people. Here’s the procedure if you want to take advantage of this:

  1. You: send me a private message with your email address
  2. Me: collect up to 30 email addresses and send to the publisher for a discount code
  3. Me: reply to you with the 20%-off discount code
  4. You: make your purchase within 30 days

Please take action earlier if you wish to buy. The earlier that I can fill up the list, the earlier that everyone will receive the book.

Tom

1 Like

Hi all, just a quick update:

The publisher has set up a 20% discount code if you buy the book from Amazon.com. The code is 20JULIA . Please note that the code will expire by March 22.

Here’s a direct link Amazon.com Page Not Found

Tom

4 Likes

I’ve signed up for the Packt trial to check out the book and I’m liking it so far. I prefer the version on the Packt site versus the pdf ebook (saw a preview on Google books), do you know if it’ll be accessible without a subscription once I buy the ebok?

Let me find out and get back to you. In what aspect do you like the Packt subscription version better? Isn’t it the same content?

1 Like