Best of 2017

The blog posts Hacker News loved most in 2017. 199 posts.

Tools & Productivity
151

Why TDD isn't crap

After my recent vitriol about unit testing, a couple of people sent me Why TDD is Crap as a thorough debunking of TDD and unit testing. As someone very interested in software correctness, I ended up writing a debunking of his debunking. Transcriptions will be in quotes, my responses below. Some important notes: From…

154

Is the keyboard faster than the mouse?

Which is faster, keyboard or mouse? A large number of programmers believe that the keyboard is faster for all (programming-related) tasks. However, there are a few widely cited webpages on AskTog which claim that Apple studies show that using the mouse is faster than using the keyboard for everything and that people…

178

History of Emacs and vi Keys (2010)

In my study of keyboarding in the past 20 years, i've noticed that the choices of many shortcuts in many apps are adopted to the many aspects of the keyboard hardware of the time in use by the community. Emacs's keybinding is not simply based on the first letter of commands, but the QWERTY layout's key positions have…

180

Programmers Should Automate More

Last week, I created a small script to aid my workflow which left me wondering why I didn't make it earlier. It adds an option in [Finder](https://en.wikipedia.org/wiki/Finder_\(software\))'s context menu to start a static web server in any folder which makes it easier to preview static websites. Technically, it's…