039 JSJ Sweet.js with Tim Disney

JavaScript Jabber

Episode | Podcast

Date: Fri, 21 Dec 2012 16:00:00 +0000

<div class="trix-content"> <div>Panel</div><pre>Tim Disney (twitter github blog) AJ O’Neal (twitter github blog) Jamison Dance (twitter github blog) Joe Eames (twitter github blog) Tim Caswell (twitter github howtonode.org) Charles Max Wood (twitter github Teach Me To Code) <br /></pre><div>Discussion<br /> 01:23 - Book Club Episode: Effective JavaScript by David Herman</div><pre>Episode will record on January 10th and air January 18th <br /></pre><div>01:48 - Sweet.js</div><pre>Macros: syntactic transformations Build-your-own CoffeeScript Cleans up code <br /></pre><div>07:03 - Benefits and Disadvantages</div><div>10:37 - Using Macros</div><div>Where are they needed? Where are they not needed?<br /> Why sweet.js Matters</div><div>13:10 - Pattern Matching</div><div>15:36 - Domain Specific Languages</div><div>16:48 - Hygiene</div><div>18:50 - Class Macro</div><div>20:28 - Limits</div><div>21:38 - Language Support</div><div>25:18 - Nesting</div><div>28:40 - Cool Macros</div><div>Example macros</div><div>30:13 - Sweet.js: What is coming?</div><pre>Defining Macros Syntax Rules <br /></pre><div>33:06 - Sweet.js mailing list</div><pre>IRC channel #sweet.js on irc.mozilla.org <br /></pre><div>Picks</div><pre>Google+ Hangouts (AJ) The Man from Earth (Jamison) TypeScript (Joe) Red Dawn (Joe) Creationix Innovations (Tim C.) Effective JavaScript by David Herman (Tim D.) Growing a Language by Guy Steele (Tim D.) Downton Abbey (Chuck) Rails Ramp Up (Chuck) <br /></pre><div>Transcript<br /> JAMISON:  Oh, my goodness! You can like, put a beard on them and it follows their face!</div><div>JOE:  Isn’t that awesome?</div><div>[Crosstalk]</div><div>JAMISON:  How do I get rid of it? Actually, it was really distracting. I didn’t know you guys would see that.</div><div>[This episode is sponsored by Component One, makers of Wijmo. If you need stunning UI elements or awesome graphs and charts, then go to Wijmo.com and check them out.]</div><div>[Hosting and bandwidth provided by the Blue Box Group. Check them out at Bluebox.net.]</div><div>CHUCK:  Hey everybody and welcome to Episode 39 of the JavaScript Jabber show. This week on our panel, we have AJ O’Neal. We have AJ O’Neal on mute. We have Jamison Dance.</div><div>JAMISON:  I am not on mute, I hope.</div><div>CHUCK:  We have Joe Eames.</div><div>JOE:  Hi everybody.</div><div>CHUCK:  We have Tim Caswell.</div><div>TIM C:  Hello.</div><div>CHUCK:  We also have a special guest, that’s Tim Disney.</div><div>TIM D:  Hi.</div><div>CHUCK:  AJ, did you figure out your mute issues? That would be a no. I’m Charles Max Wood from Devchat.tv. And this week, we’re going to be talking about Sweet.js.</div><div>Before we get started, there is one thing I want to announce really quickly and that is that we have scheduled a Book Club episode for January 10th and that’s going to be with David Herman who wrote ‘Effective JavaScript’. So it’s a pretty slim book, should be easy to get through. But yeah, if you want to follow along with that discussion, then by all means, join in.</div><div>Alright. Let’s talk about Sweet.js. Has anyone…</div><div>AJ:  Can you hear me now?</div><div>CHUCK:  Yeah.</div><div>AJ:  Okay, cool.</div><div>CHUCK:  So, I went and looked at it. I fiddled with it a little bit. I didn’t have enough time to really get into it the way that I wanted to. It looks really cool though. What kind of gave you the idea of doing something like macros for JavaScript, Tim?</div><div>TIM D:  Well, I guess it’s just something I’ve sort of wanted for JavaScript for awhile. But the main sort of impetus I guess was, I was interning at Mozilla Research this past summer. And Dave Herman who has worked on macros in the past basically said he thought that it was sort of finally possible to do for JavaScript. And so, that was a possible sort of intern project for the summer. And so, that’s what got it started.</div><div>JAMISON:  So can you back up and talk abo... Support this podcast at — https://redcircle.com/javascript-jabber/donations Advertising Inquiries: https://redcircle.com/brands Privacy & Opt-Out: https://redcircle.com/privacy