News for hackers. Stuff that matters.
Re:JavaScript Allongé is free by etrinh on Tuesday October 01, 2013 @03:55PM (#6478678)
Go. Read. This. Book. Now.

This is a must-read for any developer who wants to know Javascript better. This is the book that taught me everything I know about prototypes, method decorators, and functional programming in Javascript. Sure, I'd read countless other Javascript books, but Reg has a way of explaining things in a way that connected the dots for me. This is probably the only programming book I've re-read cover to cover a dozen times or more.

I'd also strongly suggest you throw a few bucks Reg's way for the ebook (PDF, EPUB, MOBI) version of this book. I only know Reg through his writing, but he sounds like a great guy. The fact that he's releasing this gem for free is pure madness on his part.

If you couldn't yet tell, highly recommended.

Re:JavaScript Allongé is free by alexfernandez on Tuesday October 01, 2013 @05:41PM (#6479257)
I can tell you after listening to one of his talks and talking to him afterwards: Reg is indeed a great guy! It is a good thing that JavaScript lured him from the Ruby world (bad for them I suppose).
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @04:01PM (#6478712)
Can I quote you on this?

:-D

Re:JavaScript Allongé is free by etrinh on Tuesday October 01, 2013 @04:39PM (#6478941)
Absolutely.
Re:JavaScript Allongé is free by nnnnni on Wednesday October 02, 2013 @09:12AM (#6482151)
What if you don't know JS at all?
Re:JavaScript Allongé is free by soapdog on Tuesday October 01, 2013 @05:59PM (#6479340)
Hi,

My name is Andre Alves Garzia and I am a Mozilla Rep (a.k.a. Volunteer) working on Firefox OS awareness. I wrote a quick guide for Firefox OS development that is also available for Free with a CC license on Leanpub at https://leanpub.com/quickguidefirefoxosdevelopment

I think your book is really great and I would like to add it as a recommended reading on the next iteration of my quick guide if that is ok with you.

Thanks very much for the hard work, your book is a wonderful resource!

Cheers

Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @09:15PM (#6480051)
It is very ok with me, I'm flattered!
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @10:27AM (#6476365)
Re:JavaScript Allongé is free by peterarmstrong on Tuesday October 01, 2013 @08:44PM (#6479963)
Congrats Reg!
Re:JavaScript Allongé is free by pedalpete on Tuesday October 01, 2013 @07:31PM (#6479773)
I'll be checking out the book now, but I'm wondering how many people are intrigued by the name rather than turned off by it.

As a Canadian, I should have had some exposure to Allonge, but sadly I do not, so I didn't know if this is a framework, methodology, etc. etc. Javascript Allonge is free, but that doesn't tell me what Allonge is. Javascript Allonge book is free. Ok, what is it going to teach me.

I'm happy to give it a read, and the reviews here are great, just wondering if you might have more success as an author with less cryptic titles.

Hope I don't come off sounding like an ass.

Re:JavaScript Allongé is free by GeneralMayhem on Wednesday October 02, 2013 @01:10AM (#6480744)
Re:JavaScript Allongé is free by edanm on Tuesday October 01, 2013 @03:36PM (#6478562)
This is going right on my reading list.

And as always, it's great to see more good free technical books out there, and it's great to see a fellow HN'er succeeding. Seeing them together is just amazing.

Serious kudos!

Edit: And while this was obviously not the intent, this absolutely made me go out and buy the book. Both for the gesture of support (and the actual monetary support), but also because it's nicer to have this in .mobi format. So as often happens, karma wins.

Re:JavaScript Allongé is free by lxe on Tuesday October 01, 2013 @01:21PM (#6477576)
At the end of https://leanpub.com/javascript-allonge/read#leanpub-auto-val..., it states that when you do this:

  var ouroboros = [];
  ouroboros[0] = ouroboros;
    //=> [ [Circular] ]
Examining ouroboros and ouroboros[0] with '===' will show that they are different.

But isn't that wrong? Comparing a reference of 'ouroboros' to whatever's in 'ouroboros[0]', which happens to be a reference of 'ouroboros' will return true.

Maybe I'm misinterpreting the statement?

Re:JavaScript Allongé is free by anonymoushn on Tuesday October 01, 2013 @01:40PM (#6477727)
It looks like this text is about the section slightly above:

  [2-1, 2, 2+1] === [1,2,3]
  [1,2,3] === [1, 2, 3]
  [1, 2, 3] === [1, 2, 3]
Re:JavaScript Allongé is free by ajanuary on Tuesday October 01, 2013 @01:44PM (#6477757)
Aah, rereading it, it looks like it is. The ouroboros section is an aside about how confusing combining arrays and references can be.
Re:JavaScript Allongé is free by toki5 on Tuesday October 01, 2013 @01:53PM (#6477818)
Just a guess -- perhaps

    ouroborous[0] = ouroboros;
creates a new reference to ouroboros and stores that in ouroboros[0], so comparing ouroboros and ouroboros[0] with === would claim they're the same type but not the same value.

Not an expert though, so I could be wrong, but that'd explain the behavior to me.

Re:JavaScript Allongé is free by roryokane on Tuesday October 01, 2013 @01:46PM (#6477766)
Yes, I don’t understand what he means either.

    ouroboros[0] === ouroboros
evaluates to `true`.
Re:JavaScript Allongé is free by raganwald on Thursday October 03, 2013 @07:56AM (#6488273)
Re:JavaScript Allongé is free by ritchiea on Tuesday October 01, 2013 @11:52AM (#6476943)
Thanks for this! You are a great writer, I read Coffeescript Ristretto and it was a big help. I appreciate the rigor you bring to technical writing. I actually bought Javascript Allonge after reading Coffeescript Ristretto but it's always great to hear more good information is available for free.
Re:JavaScript Allongé is free by homosaur on Tuesday October 01, 2013 @01:21PM (#6477581)
Reg: Is there a way after reading the book to donate a few bucks in a tip jar? It's unlikely that I ever purchase this ebook but I would maybe like to toss a 10 spot your way for the value I will extract from this.
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @01:56PM (#6477857)
Donations to the EFF are always an appropriate way to thank someone for making their work free:

https://supporters.eff.org/donate

That being said, a more "personal" thanks can always be made by sending PayPal directly to [email protected]. Thanks either way!

Re:JavaScript Allongé is free by alessioalex on Tuesday October 01, 2013 @05:48PM (#6479300)
I bought the book yesterday and it's definitely worth it. I would buy it again even if I knew it was free. It's in my top JavaScript books, along with others like Maintainable JavaScript, Testable JavaScript and Effective JavaScript.

@raganwald I hope you plan to write other JS books as well, you're one of the most original && intelligent authors out there.

Re:JavaScript Allongé is free by pnelson on Tuesday October 01, 2013 @02:16PM (#6478017)
Thank you. Just this past weekend I came to the realization that, after using JavaScript on and off for over 10 years, I don't actually know JavaScript. Not even close. I'm sure I'm not alone. Anyway, I've just skimmed through your offering and it looks like an entertaining read. This came at a good time.
Re:JavaScript Allongé is free by orand on Tuesday October 01, 2013 @06:29PM (#6479483)
JavaScript is the one language developers think they can use without having to actually learn it. :-)
Re:JavaScript Allongé is free by SeanDav on Tuesday October 01, 2013 @01:27PM (#6477627)
As someone who paid real money for this book, I am not sure how I feel about this...
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @02:01PM (#6477903)
Amongst other reasons, I chose to publish the book through LeanPub precisely so that if anyone every feels like they regret buying the book, there is an avenue for them to get a no-questions-asked refund. Check the web site for the specific terms.

You don't have to justify anything to me or anyone else: If you personally feel uncomfortable, I personally want you to get your money back. You can always change your mind and buy it again if that's what you want to do.

Re:JavaScript Allongé is free by SeanDav on Tuesday October 01, 2013 @02:07PM (#6477951)
That is very kind of you, but my comment was slightly tongue in cheek. I usually buy books that I read and learn from, even if I can get them for free from some pirate site.

Your book is excellent and I wouldn't dream of asking for my money back.

Re:JavaScript Allongé is free by homosaur on Tuesday October 01, 2013 @01:39PM (#6477720)
How does other people being able to now access the book for free affect you at all? Besides, you got the ebook, it's still not free.
Re:JavaScript Allongé is free by SeanDav on Tuesday October 01, 2013 @01:53PM (#6477820)
It's called Human Nature. You buy a TV for $1000 and show it off to your neighbour who says he bought exactly the same TV for $400, you don't think that will effect you at all?

If you just say "oh well, I thought $1000 dollars was a fair price" and think no more of it - well you are a better person than I am!

Re:JavaScript Allongé is free by janogonzalez on Tuesday October 01, 2013 @01:32PM (#6477666)
You paid for the opportunity to read it first than the rest :)
Re:JavaScript Allongé is free by acjohnson55 on Wednesday October 02, 2013 @12:42AM (#6480649)
Damn, I just paid for this book 3 weeks ago!

But for those who haven't read it, it was money incredibly well spent. I have a much greater understanding of JavaScript's batshit crazy semantics and FP techniques. It will make you a better programmer, regardless of whether you use JS regularly or not. But if you do, I think this book is as close to capturing the true soul of Javascript as anything I've read. The examples are very well thought out, and the writing style is a joy to read. And if you like it as much as I did, I hope you'll kick a few bucks the author's way.

Well done Mr. Braithwaite!

Re:JavaScript Allongé is free by nnnnni on Wednesday October 02, 2013 @09:11AM (#6482147)
Hey, at least you supported the author!
Re:JavaScript Allongé is free by dlo83 on Tuesday October 01, 2013 @10:31AM (#6476401)
Bought the book a few weeks ago. Have not finished yet, but it's an excellent read thus far. I knew it was a must-read after hearing Reg's interview on the Javascript Jabber podcast.
Re:JavaScript Allongé is free by arityfn on Tuesday October 01, 2013 @01:02PM (#6477433)
You werent kiddint when you said this book would someday be offered free on the javascript jabber podcast. As someone who was waiting for this day, thanks!!!
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @02:16PM (#6478015)
If you were waiting for it to be free, then I can say with certainty that I did it for you.
Re:JavaScript Allongé is free by rybosome on Tuesday October 01, 2013 @11:35AM (#6476832)
This is great news! I haven't read the book yet, had been meaning to pick it up for some time now. Reg is such a gifted writer; he manages to make a very effective point, built up organically through relevant examples. I always feel challenged to learn something, and I really enjoy his writing style - I've begun writing, and the challenge makes me appreciate his work all the more.

Can't wait to read this!

Re:JavaScript Allongé is free by brudgers on Wednesday October 02, 2013 @09:22AM (#6482203)
I've started reading it this morning, and I find the first part of the book to be a clear, concise and practical introduction to the mechanics underpinning functional programming.

Love or hate or indifference for JavaScript aside, this looks like an excellent programming book. Thanks, Reg.

Re:JavaScript Allongé is free by bdfh42 on Tuesday October 01, 2013 @10:41AM (#6476464)
Brilliant book - and was a bargain at its launch price (I know I enjoyed it) - now fantastic value and everyone with any interest in JavaScript should read it.
Re:JavaScript Allongé is free by joshuacc on Tuesday October 01, 2013 @11:29AM (#6476791)
This is awesome. I've been a happy reader for quite some time now, and I'm glad that even more people will be able to read this excellent book!
Re:JavaScript Allongé is free by poxrud on Tuesday October 01, 2013 @11:41AM (#6476870)
Great idea offering the online version free but charging for the convenience of an ebook file. I wish more authors would do this.
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @11:42AM (#6476880)
I will probably make the ebook free eventually. I have already offered free online copies of my combinators and coffeescript books, people like that.
Re:JavaScript Allongé is free by xauronx on Tuesday October 01, 2013 @11:48AM (#6476918)
I heard you on a podcast recently and just wanted to say that it was the best, most entertaining and inspiring podcast I've heard. Don't want to sound like a fanboy, but you're pretty awesome. Thanks for the book!
Re:JavaScript Allongé is free by pselbert on Tuesday October 01, 2013 @08:02PM (#6479862)
I am a regular listener of JavaScript Jabber and I must agree. Far and away the most enlightening episode they have had.
Re:JavaScript Allongé is free by Kiro on Tuesday October 01, 2013 @12:26PM (#6477173)
Which podcast was it? I want to listen.
Re:JavaScript Allongé is free by xauronx on Tuesday October 01, 2013 @12:39PM (#6477263)
http://javascriptjabber.com/070-jsj-book-club-javascript-all...

I'm not sure if you'll find it as great as I did, but there it is.

Re:JavaScript Allongé is free by Willyfrog on Tuesday October 01, 2013 @07:23PM (#6479735)
I had it in my whishlist, so now it's bought :D

Thank you for "forcing" me to buy it! ;) Enjoy a nice cup of coffee

Re:JavaScript Allongé is free by dmamills on Tuesday October 01, 2013 @10:55AM (#6476569)
Amazing book. Just picked it up a few weeks ago.
Re:JavaScript Allongé is free by cjbprime on Tuesday October 01, 2013 @11:24AM (#6476757)
Thanks, Reg!
Re:JavaScript Allongé is free by eulerphi on Tuesday October 01, 2013 @01:49PM (#6477794)
A rant about Mozilla, a non-profit FSF company and then corporate sycophantism for GitHub?
Re:JavaScript Allongé is free by raganwald on Tuesday October 01, 2013 @01:58PM (#6477876)
Do you have a question or an opinion to share in more objective terms? I have difficulty understanding what idea you are trying to convey.
Re:JavaScript Allongé is free by ne8il on Tuesday October 01, 2013 @02:51PM (#6478275)
This should be the standard auto-reply to most HN comments (or internet comments in general).