News for hackers. Stuff that matters.
Re:Don't use functions as callbacks unless they're designed ... by flohofwoe on Saturday February 06, 2021 @09:18AM (#26046626)
You can create custom types to communicate semantics to the type checker. Whether that's always a good idea is arguable though, but the tools are there (e.g. there's a wide field between weak and strong typing, and an overly strong type checker can be quite a hassle to work with while an overly weak type checker isn't much better than duck typing).

There are no comments on this comment yet.