Post #2633022
2025-04-05 10:38 UTC
@mre@mastodon.social Thanks for this great collection of advice. One aspect that really resonates with me is the "don't guess" part. I frequently end up writing a unit test that ensures that some 3rd party code behaves in a way that it matches how I use it in my code. That prevents regressions when the 3rd party code changes behavior, and it documents the expectations instead of leaving others guessing.
Replies (1)
-
@mre@mastodon.social 2025-04-05 20:35
@silwol@chaos.social yeah, that's clever. I should do that more often, thanks!