Last post: part 5.
This is the end! Here are my last impressions of the event.
Stoyan spoke about React, a framework used at Facebook and Instagram to build user interfaces. You can read a good overview of the talk on Stoyan’s blog. React offers a way to write components in JS, but because it’s tedious to write down all the tags, there is an XML-like markup language (JSX) which can be compiled to the JS counterpart. Besides generating HTML, React components automaticaly update when the data changes, and also manages event handlers, attaching and detaching them when necessary. It’s a weird framework.
###Programming Style and Your Brain (Douglas Crockford)
While most of the other speakers were proud to say that the spent the previous night doing the slides, Douglas Crockford gave a well rehearsed talk (I bet even his jokes and the audience reaction is timed). Douglas spoke about why programming style is important, specialy in JS. When the style choice is purely visual, there is no point in arguing, it’s only subjective. The styles that are important to follow are the ones that prevent errors. Semicolons in JS are “optional” in most cases, but sometimes the missing punctuation causes the program to behave in an unexpected way. And there are other examples, like always putting braces on ifs, increment operators, etc. These styles were the motivation behind JSLint. He argues that by using this, we can avoid a lot of errors, and the people that don’t follow this styles are in four categories: under educated, old school, thrill seeker or exhibitionist. Makes sense.
And this is it. I’m looking forward for next year edition.