Typescript weirdness: function vs. => and "this"

Alright, I ran into a non-obvious problem with Typescript and want to share. I guess it can also be chalked up to “Javascript weirdness” but the second layer of Typescript confused me. I have basketball games and I want to create a quick dictionary of a team to all of their games. I wrote code like … …

Read more »

ALS, droughts and running the numbers

Posted on

The fad of the ALS bucket challenge has quickly given way to new thing: fining Californians who take the ALS bucket challenge. California’s in a drought. But that’s not really new. California has been in a drought since inception. Cadillac Desert and, of course, Chinatown cover the topic. The state … …

Read more »

Remembering what "Technical Debt" should actually mean

“Technical Debt” is a common term thrown around in software development these days. And I think it’s almost always being misused. Everything that needs to be changed in the code gets referred to as “technical debt”. To determine the original meaning, let’s go back to the originator of the term, Ward … …

Read more »

SOA vs. user experience

This weekend, I pulled out wireshark on the new Sims 4 Create-A-Sim Demo. I was super impressed at how damn fast the community Sims were coming through and had to go behind the scenes. You can scroll this infinite list as fast as you can, and descriptions are there immediately, with the JPEGs fill … …

Read more »

Immutable data performance

Posted on

"Immutable" is a recent discussion point around the water cooler, and it's not my imagination when I say "recent": I think this comes from the functional programming rage -- especially in Haskell -- where, since all of your data is immutable, every function is composable and concatenatable since ……

Read more »

Why should people get paged at night *ever*?

Posted on

Someone over at Etsy posted a nice "Sleep Driven Development" article and it brought to mind my personal jihad against pager alerts. There are a handful of major, well-known tech employers that adhere to "DevOps" or "NoOps" practices and have all engineers on pagers. If you ask ……

Read more »

"Premature optimization" doesn't mean what you think it means

Posted on

Junior developers often seem want to discuss "premature optimization" with me when I bring up things such as scalability and performance. For those not familiar, here's the entire context of Knuth's quote. He was talking about gotos! People were using goto statements to improve efficiency and he felt ……

Read more »

On Scaling Code and Static Typing

Posted on

Seemingly legit question on proggit just now: "Out of curiosity, is static typing really that large an advantage? Yeah, I get that run-time errors could be worse than compile-time, but isn't that something that oughtn't to get past testing?" The answer is yes, static typing is a huge advantage. When ……

Read more »

Don't be afraid of code

Posted on

Two scenarios of fear to discuss today. #1. The Legacy App.It was designed 10 years ago. It grew organically. No one wants to touch it out of fear. The code languishes as everyone searches for a way to work around the beast. Things don't get fixed. Silver bullet syndrome takes over. People would ……

Read more »