Writing Unit Tests for More Accurate and Valuable Feedback

As you are going down the path of unit testing your code, remember to ensure your tests are actually testing and verifying the conditions you want to test and further that when they fail, you get plentiful information back from

Tagged with: ,
Posted in Software Code, Web Development, Writings
Short Link: https://justinyost.com?p=4893

Just Say No to More End-to-End Tests

The bulk of your tests are unit tests at the bottom of the pyramid. As you move up the pyramid, your tests gets larger, but at the same time the number of tests (the width of your pyramid) gets smaller.

Tagged with: , , ,
Posted in Programming, Software Code
Short Link: http://justinyost.com?p=4818

The Last Line Effect

So what we get is the following pattern: The probability of making a mistake in the last pasted block of code is 4 times higher than in any other block. Neat bit of research from Intel here and it makes

Tagged with: , , ,
Posted in Computer Science, Programming, Software Code
Short Link: http://justinyost.com?p=4813

CakePHP 3.0 Retrospective

With CakePHP 3.0 out the door, I thought it would be good to reflect on the project. CakePHP 3.0 is the longest and largest open source project milestone I’ve ever participated in. At FreshBooks we do retrospectives on large projects

Tagged with: , , , ,
Posted in Programming, Software Code
Short Link: http://justinyost.com?p=4804

In the pocket

I just don’t have a need for what the Apple Watch currently provides. I’m sure its functionality will grow with time, though, and as it does I’ll revisit my decision not to buy one. This doesn’t mean I don’t appreciate

Tagged with: , , , ,
Posted in Technology
Short Link: http://justinyost.com?p=4799

Economy of Tests

A common complaint with teams that first try their hand at automated testing, is that it is hard, costly, and not worth the effort. On the other hand, supporters say that it saves them time. In this post, we’ll try

Tagged with: , , , ,
Posted in Computer Science, Programming
Short Link: http://justinyost.com?p=4787

Quantity Queries for CSS

In this article, I will be outlining a technique to make CSS quantity-aware using specially formed selectors. I will be applying these selectors to one classic problem in particular: how to alter the display of items in a horizontal navigation

Tagged with: , ,
Posted in Programming, Web Design, Web Development
Short Link: http://justinyost.com?p=4781

Google and blogs: “Shit.”

Everyone’s spending increasingly more consumption time dicking around in apps and snacking on bite-sized social content instead of browsing websites and searching Google. Publishers are relying more on social traffic not because Google’s squeezing them out, but because that’s where

Tagged with: , ,
Posted in Culture, Social Media, Technology
Short Link: http://justinyost.com?p=4777

The Big Rewrite, revisited

But there are other types of rewrites. The one most dear to me is the “Don’t Try To Turn A Chair Into A Table” rewrite. It’s the one we committed when we launched the new version of Basecamp a couple

Tagged with: , , ,
Posted in Computer Science, Programming, Software Code, Web Development
Short Link: http://justinyost.com?p=4770

Five Easy Ways to Be a Better Web Professional

There you have it: five easy ways to be a better Web professional. This list is by no means exhaustive and I’m certain you have tips on being a better professional drawn from your own experiences. I’d love to hear

Tagged with: , , ,
Posted in Computer Science, Programming, Web Development
Short Link: http://justinyost.com?p=4768