News for hackers. Stuff that matters.
Re:Where to wait for an elevator (2010) by dragonwriter on Wednesday July 06, 2022 @08:06PM (#32008468)
> An intuitive way to look at it is that square function is the simplest function that goes down until it reaches a minimum, and then back up again

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

I mean, if you added the caveat “with a continuous derivative”, sure.

Re:Where to wait for an elevator (2010) by orangecat on Wednesday July 06, 2022 @11:43PM (#32009679)
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).