Re:How I Got a 2x Speedup With One Line of Code
by Peaker on Thursday November 14, 2013 @05:42PM
(#6736233)
Is parametric polymorphism leaky?
Re:How I Got a 2x Speedup With One Line of Code
by wffurr on Thursday November 14, 2013 @10:15PM
(#6737467)
Method resolution order.
Re:How I Got a 2x Speedup With One Line of Code
by Peaker on Friday November 15, 2013 @11:38AM
(#6740349)
I said parametric polymorphism. That doesn't involve any method resolution order.
Re:How I Got a 2x Speedup With One Line of Code
by wffurr on Monday November 18, 2013 @12:20PM
(#6755432)
OK - different usage of "abstraction".
If you are talking about abstracting, i.e. taking away, similar bits of code into one place in programming, whether it's via polymorphism or refactoring functions, then no, that is not a "leaky abstraction".
I am talking about abstraction as in creating a simplified / unified interface over some complex thing. Abstracting the idea of something from its concrete realizations into its own concept. OSI networking layers, drivers for hardware, modeling real world systems, etc.
If you want to be pedantic instead of snappy, you can change my statement to "all abstraction layers are leaky".
Also known as the rule of leaky abstractions, as in all abstractions are leaky.