logoalt Hacker News

marcosdumayyesterday at 4:48 PM1 replyview on HN

Don't use continuous math in either a design system nor a constraint solver that you expect random developers to use. Either case will only lead to problems.


Replies

hansvmtoday at 12:20 AM

I largely agree, but there's a little nuance insofar as "interior-point" methods are very powerful. You can go a long way by encoding your goals as error functions and letting a gradient-based optimizer do the rest.