• 0 Posts
  • 5 Comments
Joined 8 months ago
cake
Cake day: March 24th, 2026

help-circle
  • I think metrics like code coverage are a big part of the problem where devs are encouraged to stop short of fully testing something or write low-quality tests that prove nothing to satisfy the metric.

    The classic simple example is a divide function that takes a dividend and divisor and returns a quotient. One test that passes 6 and 3 and asserts 2 yields 100% code coverage, but what what about divide by zero errors? Does it work with negative numbers? Etc., etc. You’re definitely not done with tests, despite the metric saying you are, and a slop generator (human or AI) could certainly write a fundamentally broken implementation that passes the tests.

    Now combine that with a tendency to focus on unit tests that test the system in a manner that hardly reflects how it works in production, and you have a system that passes all the tests, yet doesn’t actually work.


  • Looks like SpaceX is still progressing in spite of Musk. I’m sure having Shotwell there as adult supervision helps a lot. What I’m rooting for at this point is seeing many competitors with similar capabilities to Starship. It would be quite a dystopian future for someone like Musk to have a monopoly on human space travel, not that I anticipate SpaceX making it that much further with him doing stupid shit like intermingling the company’s future with AI.