4 ms·
A counterpoint is that more can be simpler when it allows better abstraction. For example, calculus is more complicated that arithmetic and algebra. However, c
by RcouF1uZ4gsC 9y ago
A counterpoint is that more can be simpler when it allows better abstraction.
For example, calculus is more complicated that arithmetic and algebra. However, calculus can unify and show relations between different algebraic representations. For example, when I learned physics in middle school, I thought that remembering
delta position = velocity * time
but struggled with
delta position = initial velocity * time + 1/2 (acceleration * time^2)
When, I learned about derivatives and integrals, the formulas all made sense.
In my opinion Go suffers from the ability to abstract which is most represented in its lack of generics. Instead, of being able to represent operations in a generic way, you are forced to cut and paste, and cannot express the relationship accurately, much as how I considered the relationship between acceleration and position to be opaque before I understood calculus.
- barrkel 9y agoThat formula makes sense when you draw a velocity vs time graph and realise the area under the curve is the distance travelled. With linear acceleration, the area is a rectangle with a triangle on top, and everything starts becoming clear, even without calculus.
- kbwt 9y agoYou can also visualize the meaning of d/dx x^n = n x^(n-1) geometrically: There are n faces being extruded which contribute a volume of x^(n-1) dx each.