3 ms·
no, it's not that bad. he was explaining how he can't explain this to his nine year old, data Item = Item { initial :: float, accelerat
by jfoutz 17y ago
no, it's not that bad. he was explaining how
he can't explain this to his nine year old,
data Item = Item { initial :: float,
acceleration :: float }
position time item = initial item + acceleration item * time^2
but his nine year old has no problems with this.
public class Item{
private final float _initial;
private final float _acceleration;
public Item(float initial, float acceleration){
_initial = initial;
_acceleration = acceleration;
}
public float getPosition(float time){
return _initial + time * time * _position;
}
}
</snark>
- jottinger 17y agoHonestly, no. But the nine-year-old (at the time) understood explicit things, while not necessarily grokking implicit things. That doesn't make implicitness of less value. IMO, seeing things makes understanding them easier at first - it doesn't mean you don't learn.