News for hackers. Stuff that matters.
Re:Don't use functions as callbacks unless they're designed ... by kuschku on Saturday February 06, 2021 @07:15AM (#26046046)
Actually, that's what I use inline types in kotlin for.

So username, password are distinct from string and objectid might be backed by an int, but is distinct from int.

Obviously, once compiled, there's no overhead, it's a zero cost abstraction. But an incredibly useful one.

There are no comments on this comment yet.