7 ms·
the solution is... to not use Golang! more specifically, fairly basic operations on a list of data does not seem like it should call for the complexity of a DS
by setr 6y ago
the solution is... to not use Golang!
more specifically, fairly basic operations on a list of data does not seem like it should call for the complexity of a DSL. IMO unless you need to do this quite a bit on random datatypes, copy & paste would probably be the better alternative. Unless you're referring to a DSL that looks exactly like Golang but with generics & monomorphism.... in which case ok I guess
- pjmlp 6y agoWhen that solution is possible, sometimes project requirements make us use tools that we rather not, but have to.