News for hackers. Stuff that matters.
Re:Application-as-a-Function Thinking by brap on Sunday October 16, 2022 @09:12AM (#33223354)
Very cool to see this! I've actually given this some thought a few years back when attempting to create (yet another) JS framework, and came up with something very similar to this! For me the difficult part was where the side effects fit in and how they're processed, what you call "commands" and "command handler". I didn't find an elegant solution to this and abandoned the idea early on, sparing the JS community.
Re:Application-as-a-Function Thinking by kodroid on Sunday October 16, 2022 @03:15PM (#33226357)
Great thanks.

> For me the difficult part was where the side effects fit in and how they're processed, what you call "commands" and "command handler"

Do you mean difficult for you when designing, or difficult to understand in my post?

Re:Application-as-a-Function Thinking by brap on Sunday October 16, 2022 @03:47PM (#33226636)
I meant for me, but also in the article I felt like there should be a bit more on that.
Re:Application-as-a-Function Thinking by kodroid on Monday October 17, 2022 @04:28AM (#33231040)
Thanks. Others have said similar, but more of a request for an additional post expanding on that aspect. Until then, there is a little more information in a previous related post https://doridori.github.io/Android-Architecture-Runtime/