News for hackers. Stuff that matters.
Re:Let’s Code: Test-Driven JavaScript by jdlshore on Wednesday February 13, 2013 @02:35AM (#5211886)
I was thrilled to see this show up in my logs. I've been working on the screencast for months and months and I was thinking about doing a Show HN. Now I don't have to. I'm happy to answer any questions anybody might have.

Here's the HN discussion from when the series was launched on Kickstarter last year: http://news.ycombinator.com/item?id=3977240

Re:Let’s Code: Test-Driven JavaScript by ymn_ayk on Wednesday February 13, 2013 @06:06AM (#5212459)
I wonder if you use any client side framework like backbone.js or ember.js. How do you make Client-Server communication? I hope you use websockets, so we can learn how to write tests with websockets. Thanks
Re:Let’s Code: Test-Driven JavaScript by jdlshore on Wednesday February 13, 2013 @06:19AM (#5212513)
I haven't gotten to that point in the series yet, but WebSockets are on the agenda, probably using Socket.IO.

The only client side library we're using at the moment is JQuery, other than test frameworks.

In general, the show tends to focus on understanding things deeply before applying frameworks and libraries. JQuery (and eventually, Socket.IO) is an exception because of how it abstracts away browser differences.

Re:Let’s Code: Test-Driven JavaScript by jdlshore on Thursday February 14, 2013 @04:12AM (#5218584)
Oh, and we're using Raphaël to abstract away vector graphics differences. (In particular, IE 8 uses VML and the other browsers we're supporting use SVG.)