5 ms·
"It's all a tradeoff, you lose some expressiveness for performance." Not only do you gain performance but I think you gain maintainability and clarity. I value
by voidlogic 14y ago
"It's all a tradeoff, you lose some expressiveness for performance."
Not only do you gain performance but I think you gain maintainability and clarity. I value that when you read Go the run-time complexity of operations is very clear. In many other languages you often find O(n) or worse operations that appear to many programs in such a way the uninformed assume they are O(1) operations. In Go that does not happen- almost always what you see is what you get. I will gladly write a few more lines of simple code to gain clarity.
- wging 14y agoCan you post an example?