Forgot your password?
typodupeerror

Comment Re:Abstraction requires you to make tradeoffs. (Score 1) 523

By your own statements, abstraction then is a tradeoff between larger programs (i.e. compiler creating a for loop for the abstraction) and slower programs (compiler putting runtime code to figure out what to do with the abstraction, i.e. RTTI). Some of the results of tradeoffs may be insignificant but for code that requires speed, a programmer must know what performance he will expect from what he writes.

You are missing the point. The point was that there should be a simpler way to express the addition of arrays or lists. If you have to add two lists, making an abstraction such as C = A + B to do so adds no overhead, the computer still has to use the for loop no matter what. It is completely notational.

Slashdot Top Deals

Any sufficiently advanced technology is indistinguishable from a rigged demo.

Working...