Better HN
topnewbestaskshowjobs
Log inSign up

frtizo

5 karma · joined Feb 3, 2012 (14y ago) · 3 submissions

Submissions

comment 14y ago · link · parent

Short variable names are useful when structure is more important than concrete interpretation. For example, consider the above definition of e (aka EulersConstant): e = lim x->inf (1 - 1/x)^x = limit( compoundingSegmentsPerYear, INFINITY, pow(1 - 1 / compoundingSegmentsPerYear, compoundingSegmentsPerYear))

We could obfuscate further by XML replacement parentheses: <sum> <term>1</term> <term> <quotient>...</quotient> </term> </sum> But the structure is more important, right?

comment 14y ago · link · parent

World population of elephants: ~700000 Number of humans without access to clean drinking water: ~800000000