Live data from Hacker News

Programmers are bad at managing state (2020)

nolanlawson.com

1–10 of 60 posts

Re: Programmers are bad at managing state (2020)

#5
Whenever someone mentions state I think of Rich Hickey's talk "Simple Made Easy" in which he seems almost terrified of state and strives always for pure functions, because as a human he has a hard limit as to how much state he can keep in his head at once when reasoning about the program. He's right. I've worked on enough bad code, including sometimes my own, to know that programmers are bad at managing state.

"Simple Made Easy" - Rich Hickey (2011) https://www.youtube.com/watch?v=SxdOUGdseq4

Re: Programmers are bad at managing state (2020)

#6
post #4
post #2

"There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton" This is cache invalidation.

There are only two hard things in Computer science: cache validation, off bdata races. y one,

And only once delivery. And only once delivery.

Re: Programmers are bad at managing state (2020)

#7
post #4
post #2

"There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton" This is cache invalidation.

There are only two hard things in Computer science: cache validation, off bdata races. y one,

Methinks you need a mutex here.

Re: Programmers are bad at managing state (2020)

#8
post #5

Whenever someone mentions state I think of Rich Hickey's talk "Simple Made Easy" in which he seems almost terrified of state and strives always for pure functions, because as a human he has a hard limit as to how much state he can keep in his head at once when reasoning about the program. He's right. I've worked on enough bad code, including sometimes my own, to know that programmers are bad at managing state. "Simpl…

[deleted]

Re: Programmers are bad at managing state (2020)

#10
post #6
post #4

Earlier quoted context omitted.

There are only two hard things in Computer science: cache validation, off bdata races. y one,

And only once delivery. And only once delivery.

Only one delivery is easy as long as you don't guarantee delivery
Post reply on HN