Hacker News new | ask | show | jobs
by eknkc 3280 days ago
This does not make any sense to me either.

If you need to pass the value of PI because you somehow do not trust it's origin, how on earth can you trust the exported function named "circumference" to calculate the actual circumference? Also, what if the rule of physics and mathematics change in future and we need to alter the definition of circumference? Maybe we need to pass a function that does the actual multiplication too?

2 comments

You've just reinvented Objectivist-C! http://fdiv.net/2012/04/01/objectivist-c
Cross-universe compatible code is the next big thing.