logoalt Hacker News

dhorthyyesterday at 4:21 PM1 replyview on HN

functional programming taught us this decades ago. State is the root of all evil.

If the outcome of my interaction with the interface (e.g. tap a place on the screen) is a function of not just where i tap but the last 2-6 places i recently tapped (menus etc) suddenly you've added massive complexity and mental overhead.

can't wait to get back to a button that does the same thing every time every time i press it [1]

tesla screens, carplay, mercedes screens, its been getting worse for a while

1) I know in reality most are sliders or an on/off toggle but the point stands


Replies

gregorygocyesterday at 8:10 PM

Currying is a thing in FP too.