In the last 2 years I worked at a company that fully embraced Test Driven Development (TDD) and automated testing in general. During that time no one around me questioned it: I had to create automated tests for every production code I wrote, and it had to be done preferably through TDD.
Why do Programmers Hate Documenting?It's a bit of a generalization but I think there is truth in it. Many programmers, even experienced ones, really don't like documentation. Most of us do it, because we know we have to, but if we're under pressure its the first thing to go.
rawgithub.comIt works with gists too! Just replace with in the raw gist URL. Use this for testing and for sharing demo code with friends, but don't use it for anything production-related. It's slow, it might break from time to time, and it's intended as a convenience for development, not free static hosting.
UPDATE Considered HarmfulIf you’re using SQL’s UPDATE (or DELETE) you’re doing it wrong. Every time you perform an UPDATE or DELETE you are throwing away data in an era where you can buy a 2TB HDD for less than $100.
Event SourcingCapture all changes to an application state as a sequence of events. We can query an application's state to find out the current state of the world, and this answers many questions. However there are times when we don't just want to see where we are, we also want to know how we got there.
Improving testing by using real traffic from productionTL;DR The more realistic your test data, the better. I wrote Gor - an automated real-time http traffic replay solution that can forward part of your production traffic to staging or anywhere you want, and rate-limit it if needed
The bright side of dark siliconIt's been a decade or so since the end of frequency scaling, and multicore has become ubiquitous, there being no other means to increase a chip's performance. Some multicore systems are symmetric - all cores are identical, so you can easily move work from one core to another.
Simon Ask — How MMX/SSE math stalled my event loop on OS XIn 1998, AMD introduced the 3DNow! instruction set. It is an extension to the already existing MMX instruction set, which only supports SIMD integer operations.
Programming is not a Super-PowerIn this article, I make some critical comments about code.org’s inspirational video on programming in schools. In particular, a comic book super-power is a terrible analogy for programming. How Easy Is Programming?
Database replication explainedDo I need replication? Actually this question should be replaced with ‘Can I afford data loss?’.
This Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.