Database optimization isn't always obvious

Inspired by a couple of different events (thanks @jeff and @wsvincent !), I’m starting out the New Year with a new blog post.

6 Likes

Your feed on your site is not working, Ken, just FYI.

I’d like to see more of your opinions and knowledge btw, both short (and maybe obvious) as well as in-depth stuff.

And more on-topic:

Using .filter().first() instead of .get() is one of my pet peeves, assuming the latter is more aligned with the actual intention. I definitely fixed too many bugs which could have prevented or caught earlier because of this.

Thanks Ken! I had the same thought when seeing that original post, great to see a full investigation.

Btw the links at the top of the post are broken, looks like incorrect Markdown syntax?

Thanks - this is my first attempt at using Github pages - I’m learning. (Or trying to, anyway.) The fact that the docs don’t match current behavior has made this an “interesting” experience.

Actually it was a semi-conscious decision. (It seemed like the right idea at the time.) Note: I’m not attempting to justify that decision, or in anyway argue that it was the right decision to make. But thinking about it some more, I have changed it. Thanks!

2 Likes