A simple thing that would make Go infinitely better as a programming language would be if nil didn't satisfy any interfaces. This couldn't work:

It would remove a huge opportunity to create panics, and probably a significant amount of error handling code worrying about them.

The core problem in making this change is that errors are passed as nil for no error, when really there should be an errors.NoError that is checked instead.

Sign in to participate in the conversation

A server setup for the users of to connect to the greater ActivityPub network.