Workaday Readings are the droll, dry, and dear pages I continuously tick through during my day.

This is shop talk, not for general consumption! (lest you want to fall asleep 😉 )

Workaday Reading

Stop mocking about: Event Dispatcher

“I don’t like mocks in unit testing (I use them, but don’t like them). It often results in tests that only assure some specific method was called with certain parameters. It is this approach that may lead some to think that writing tests is writing the code twice, and therefore a waste of time.”


read »

Workaday Reading

COUNT(*) vs COUNT(id) in MySQL

“TL;DR: Use COUNT(), not COUNT(id), when you want to count rows. You have probably read in a bunch of different places that you shouldn’t use SELECT() in MySQL when you don’t need all the data. SELECT(*) selects all the columns in the table, not just the ones that you might need.”


read »

Workaday Reading

How technology literally changes our brains

“Nicholas Carr on deep reading and digital thinking. In 1964, the Canadian philosopher Marshall McLuhan published his opus Understanding Media: The Extensions of Man. In it he writes, “In the long run, a medium’s content matters less than the medium itself in influencing how we think and act.”


read »

1 2 3 28