Re:How to store your app's entire state in the url
by spullara on Monday January 09, 2023 @08:40PM
(#34319200)
Right, but having them all be the same is what people are joking about :) Although I might check the lisp/clojure vs java code on techempower or another rosetta stone like example.
[ Parent
| on HN ]
Re:How to store your app's entire state in the url
by moring on Tuesday January 10, 2023 @01:46AM
(#34321358)
That, and the usual style of stacking all closing parentheses together at the end of the last line of a sub-expression / statement / whatever. People sometimes do this in Java and it's just as unreadable.
Re:How to store your app's entire state in the url
by User23 on Tuesday January 10, 2023 @10:33AM
(#34326333)
You read it by indentation not by counting parentheses.
Re:How to store your app's entire state in the url
by WorldMaker on Tuesday January 10, 2023 @03:43PM
(#34331196)
It's still very easy to make mistakes reading it that way. If you are reading it by indentation anyway you may as well use a parser that closes parentheses for you at indentation changes. (Like the ML family and Haskell and Python all decided to do.)