|
|
|
|
|
by sheepscreek
181 days ago
|
|
What’s with GPU engineers using such unreadable variable names (to anyone outside the immediate domain)? It’s the equivalent of doing this for compound interest rate calculation: # A = P * (1 + r/n)^(nt)
P = 10000
r = 0.06
n = 12
t = 5
A = P (1 + r / n) * (n * t) Compared to this: principal = 10_000
annual_interest_rate = 0.06
compounds_per_year = 12
years = 5 future_value = principal * (1 + annual_interest_rate / compounds_per_year) * (compounds_per_year * years) My question is partly rhetorical - I know the answer lies with the tight research and mathematical origins. But that makes it research code IMO, not what I would consider high quality software code. |
|