3 ms·
for sure i can abuse Go's language features as well in unintended ways. Language abuse happens when the feature is the only available feature to implemented a
by je42 8y ago
for sure i can abuse Go's language features as well in unintended ways.
Language abuse happens when the feature is the only available feature to implemented a particular and no other language feature allows for a better implementation.
in C++ most abuses of template are related to the missing feature "concepts". which took quite a while to get their.
If language switching is not an option, and your application requires generics and you are also required to use Go, you do have a problem. You need abuse the language and work around re-implement generics for Go.
Which can result in a very ugly development process, difficult to maintain code etc.