Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm, here's a thought: Instead of naming a function "sum", call it Σ, and similarly use √ instead of "sqrt". This would enable you to write things like

rms = √(1/len(x)*Σ(x))

Which is really quite cool from a mathematical view point.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: