Cohere Articles

Betsy Haibel

Recent Posts

Embracing Uncomfortable Refactoring

Posted by Betsy Haibel on Feb 14, 2019 12:57:27 PM

Sometimes refactoring is fun. Sometimes refactoring feels therapeutic.

Usually, those kinds of refactoring are the kinds we don’t need.

We know it: we always have that faint feeling that we’re having just a little too much fun to justify our salary. Or that self-righteous joy when we rip out all of someone else’s opinions about code style and replace them with something that is the same, but ours.

Read More

Topics: cohere, refactoring

Practical Empathy, or: How I Stopped Hating Pair Programming

Posted by Betsy Haibel on Feb 14, 2019 12:36:39 PM

I used to think I hated pairing.

One of my first experiences pairing was with my least favorite co-worker. In my previous programming jobs, I’d always been the only Rails developer, or one of two, and we’d had a lot to do. Too much for us to be able to “afford” to pair on a regular basis. I was great at translating my thoughts about code into code, but not at translating them into words. This co-worker wanted to talk about patterns and theory all the time, and it almost seemed like he was doing this to avoid the “writing actual code” part. We were on a deadline, and I wound up relegated to the backseat in our pairing. Pairing seemed like both an aggravating experience and a colossal waste of time.

Read More

Topics: pair programming

Metrics, Async/Await, and Really Big Hammers

Posted by Betsy Haibel on Feb 14, 2019 12:29:14 PM

The other night my partner Chris asked me over dinner, “Betsy, how would you handle a call to a metrics library using async/await?”

Chris makes developer tools at an e-commerce company. JavaScript isn’t a big part of the stack where he works, but everyone works with at least a little JavaScript nowadays. He needed to expose metrics APIs for the applications developers he works with. He wanted them to be easy to use, and not get in the way of their application code.

Read More

Topics: cohere, async, metric

More Articles