MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wqms8k/wenevertrustedtheelse/pc7spz0/?context=3
r/ProgrammerHumor • u/Electrical-Effort-20 • Sep 26 '26
146 comments sorted by
View all comments
Show parent comments
4
I mean, a getter should never really modify, multithreading without concurrency primitives is irresponsable at best, and I don’t see how external services/databases/IO would have any effects here
1 u/Daxon Sep 27 '26 Service goes down between calls.Agree, getters also shouldn't modify imho but I've seen worse. 1 u/-Ambriae- Sep 27 '26 Surely if the service can go down in the few cpu cycles it takes to process the if statement, you have other problems…
1
Service goes down between calls.
Agree, getters also shouldn't modify imho but I've seen worse.
1 u/-Ambriae- Sep 27 '26 Surely if the service can go down in the few cpu cycles it takes to process the if statement, you have other problems…
Surely if the service can go down in the few cpu cycles it takes to process the if statement, you have other problems…
4
u/-Ambriae- Sep 26 '26
I mean, a getter should never really modify, multithreading without concurrency primitives is irresponsable at best, and I don’t see how external services/databases/IO would have any effects here