Hacker News new | past | comments | ask | show | jobs | submit login

By what measure of simplicity is x^2 simpler than abs(x)?

Its description is shorter in English and in most programming languages, mainly because it doesn't have a conditional. (Which is related to it being differentiable everywhere).




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: