2 ms·
If you're using reflection or storing a bare interface{}, you should probably instead try using generics. If you're using real interfaces, you should keep usin
by morelisp 5y ago
If you're using reflection or storing a bare interface{}, you should probably instead try using generics.
If you're using real interfaces, you should keep using interfaces.
If you care about performance, you should not try to write Java-Streams / FP-like code in a language with no JIT and a non-generational non-compacting GC.