picostitch
crafting (and) JavaScript

Newsletter #2

Welcome to the newsletter #2 - about crafting (and) JavaScript - March 6th, 2017. Every Monday you will receive a hand-selected collection of links about JavaScript and how to craft better software. Let's get started ...

JavaScript

Purescript series - I started a series about Purescript, in the 1st post I try to explain why a strictly typed language, that compiles to nice JavaScript looks quite appealing. And in the 2nd post I show how to install Purescript with yarn and write a first tiny bit of code, with type annotations(!).

WeakRefs - make sure to have your litter picked up! *"Weak references had their first – indirect – appearance in ES6, with the arrival of WeakMap and WeakSet."* The articles goes much more into details than this: *"A weak reference is a reference that allows access to an object that has not yet been garbage collected, but does not prevent that object from being garbage collected."*

Crafting

TDD the RITE Way by Eric Elliot summarizes why and how to do TDD, including examples. A good read to learn about TDD and also to remember many things such as how a test must be made *"You only need to see the salient bitsβ€Šβ€”β€Šthe stuff that matters for the particular test at hand."* and many more things. A good read.

"Duplicating code and cleaning up later is MUCH harder than refactoring out the common parts and composing anew.", I tweeted and Angel Jimenez‏ responded with one of Sandi Metz' classic posts The wrong abstraction, make sure to read it. Inhale it!

SoCraTes UK 2017 will take place 15th – 18th June in England. SoCraTes is an open space, which means all the people who attend are those that create the content. If you care about crafting software, companies, teams and so on you should not miss it. Follow SoCraTes UK on twitter to stay up to date.

Various

Fraktus - A random german movie. If you care about electronic music and it's history, watch this movie without reading about it and have fun! I guess it exists in german only.