3 ms·
(By the way, why is it okay for a function to have unused input parameters?) That's caused by Go's interfaces and function type signatures. It may be nec
by zaphar 10y ago
(By the way, why is it okay for a function to have
unused input parameters?)
That's caused by Go's interfaces and function type signatures. It may be necessary for a method or function to accept certain arguments to satisfy an interface or type signature even when those arguments don't get used. It's a bit of a wort I agree.
- deleted 10y ago[deleted]