Re:Swift: Madness of Generic Integer
by shurcooL on Tuesday March 03, 2015 @06:37PM
(#9141572)
You're right. I should rephrase, I meant that in this case I see the abstraction not being worthwhile because it doesn't save enough time compared to not using it.
[ Parent
| on HN ]
The cost of the abstraction is language dependent though and the programmer might desire the abstraction to be worth it. For example, this particular abstraction is much cheaper in C++ which is a (admittedly small) point in C++'s favor.