16 Jul

TDD an Analogue Clockface in Go

I wrote another chapter for @quii 's very splendid and worthwhile book Learn Go With Tests - this one's all about drawing analogue clock faces using SVGs and the math package.

The chapter introduces the math package (we do some trigonometry!) and touc...

16 Jul

TDD an Analogue Clockface in Go

I wrote another chapter for @quii 's very splendid and worthwhile book Learn Go With Tests - this one's all about drawing analogue clock faces using SVGs and the math package.

The chapter introduces the math package (we do some trigonometry!) and touc...

16 Jul

Rails Auto Loading Magic Gone Wrong!

TL;DR, use explicit module namespacing or avoid complex namespacing as often as possible when inheriting classes.

Class and Module constants depend on the order of autoload-paths lookup (a Ruby on Rails feature), more on that below. Because of this, ...

16 Jul

.map(), .filter(), and .reduce()

Originally posted on my blog

For the last several weeks I've been applying for jobs. Sadly, the startup I was working at just didn't work out. I am super bummed it didn't work out, but that's how things go sometimes. Anyway, I've been posting on twi...

16 Jul

The best dev community

Dev.to should clearly win the Noonies award for best dev community: https://noonies.hackernoon.com/award/cjxr8yn9weqhp0b129w4ygn5h

16 Jul

A Peek at New Methods Coming to Promises

Promises are one of the most celebrated features introduced to JavaScript. Having a native asynchronous artifact baked right into the language has opened up a new era, changing not only how we write code but also setting up the base for other freat APIs — like fetch!

Let's step back a moment to recap the features we gained when they were initially released and what new bells and whistles we’re getting next.

New to the concept of Promises? … Read article

The post A Peek at New Methods Coming to Promises appeared first on CSS-Tricks.

16 Jul

A Peek at New Methods Coming to Promises

Promises are one of the most celebrated features introduced to JavaScript. Having a native asynchronous artifact baked right into the language has opened up a new era, changing not only how we write code but also setting up the base for other freat APIs — like fetch!

Let's step back a moment to recap the features we gained when they were initially released and what new bells and whistles we’re getting next.

New to the concept of Promises? … Read article

The post A Peek at New Methods Coming to Promises appeared first on CSS-Tricks.