Test-Driven Development

 

Writing code is hard. Sometimes we need to move fast but also scale. Other times, it’s wondering where to start when turning an idea into an app. And then there’s diving into rabbit holes and squashing bugs.

It’s at moments like these that we turn to test-driven development. TDD, as it’s called, asks you to write tests before writing the code itself. It’s used by companies like Spotify, Etsy, and Buffer to increase the speed and quality of code production.

Credits: Codecademy via GMail

Traffic lights

 

It is the 101st anniversary since the installation of the world’s first set of traffic lights, and internet search engine Google has released a special doodle to mark the occasion. Meanwhile to celebrate, those little lit-up dudes you see at pedestrian crossings decided to have a big ruckus.

The first red and green lights were installed in Cleveland, Ohio in the United States, on August 5, 1914. The original design though came from a Salt Lake City, Utah policeman named Lester Wire. He came up with the idea in 1912.

Credits: joyreactor.com and TwoHobosOneBox via imgur, Heavy