News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by cel1ne on Wednesday August 09, 2017 @12:05PM (#14970633)
With kotlin I seldom need a framework, because the standard-library is so rich.

In general, when I tend to follow a data-flow ("redux" for JS people) architecture, but have a different approach when it comes to side-effects: My state is always a serialisable description including running side-effects. So even network-requests can be reconstructed from a state-file.

Also I decouple View/React from the actual state via interfaces.

Meaning my state doesn't necessarily contain the data in the format my Views need, but it's able to supply the data via delegation.

If I need background-threads I use actors / CSP.

Re:JavaScript for People Who Hate JavaScript by kashano on Wednesday August 09, 2017 @01:35PM (#14971616)
This sounds really interesting, do you have any examples or a blog post explaining this in more detail?
Re:JavaScript for People Who Hate JavaScript by cel1ne on Saturday August 12, 2017 @01:08AM (#14996569)
No, but I'll might write it up at some point.

So much to do, so little time ;)