A list of things I consider evil:

- git branches

- premature test writing

- Bitcoin price euphoria

- white chocolate

Reply to this note

Please Login to reply.

Discussion

white chocolate is only okay in very minimal quantities

😅

I agree with you regarding white chocolate.

I will add light beer to this list.

I feel ashamed that I forgot this one

- Reclining seat in airplane without checking behind first.

Yeah fiat price euphoria is kind of annoying. I wish I could mute it all in one fell swoop without unfollowing or muting the entirety of that person.

What’s wrong with git branches?

Git branches are just a way to collect technical debt and keep it in one place.

They are the organizational equivalent of locks on shared mutable state in concurrent systems.

The longer a branch exists, the more activity they block when reconciling.

When is a good time to write tests? I’ve never found it

I think it depends on the situation. I find myself writing tests when I begin to fear how different inputs will be processed, especially in combination.

You should only write tests when that part of the codebase has real users relying on it not breaking, real contributors who might inadvertantly break it, and everyone involved has reason to believe that further experimentation is pointless.