News for hackers. Stuff that matters.
Re:Go's Sweet 16 by zimpenfish on Sunday November 16, 2025 @02:23PM (#45947649)
> My cardinal rule in Go is just don't use interfaces unless you really, really need to and there's no other way.

They do make some sense for swappable doodahs - like buffers / strings / filehandles you can write to - but those tend to be in the lower levels (libraries) rather than application code.

There are no comments on this comment yet.