News for hackers. Stuff that matters.
Re:None of my projects want to be SPAs by kerkeslager on Monday February 11, 2019 @12:15PM (#19136072)
Okay, I think we're talking about different things. I don't think of stdin/stdout/stderr or static configuration as state because they don't change. Typically when I talk about state, I'm talking about mutable data that may change over the lifetime of a program.
Re:None of my projects want to be SPAs by WorldMaker on Monday February 11, 2019 @01:41PM (#19137016)
stdin/stdout/stderr may be redirected during the lifetime of a program. The OS manages them and they are "reference pointers" (file handles) for multiple reasons.

Also, "state" does not necessarily imply "mutable". (Redux encourages an immutable state approach where good reducers don't mutate state in place, but instead build new state from old, though Redux is not strict in enforcing this best practice. For Redux the "current state" is "file handle" that simply updates from one object to the next, not all that different from stdin/stdout/stderr or even somewhat to static configuration that is somewhat updateable without restarting the application.)

Re:None of my projects want to be SPAs by kerkeslager on Monday February 11, 2019 @03:43PM (#19138125)
> stdin/stdout/stderr may be redirected during the lifetime of a program. The OS manages them and they are "reference pointers" (file handles) for multiple reasons.

> Also, "state" does not necessarily imply "mutable".

Okay, sure. I'd rather not get into a semantic argument about the meaning of the word "state". Suffice it to say that I'm talking about mutable global state.