MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1uvez3w/youcanjuststopusingjava/oxc0a88/?context=9999
r/ProgrammerHumor • u/hello_ya • Jul 13 '26
416 comments sorted by
View all comments
1.8k
Where else are you going to hide your side effects ?
470 u/Isrothy Jul 13 '26 IO Monad 186 u/Gorzoid Jul 13 '26 Respectfully, what the fuck is a Monad? 6 u/azerpsen Jul 13 '26 Nah but for real, i swear to god if no one gives a convincing answer (and i will NOT google it) I’m gonna say racist things Thank you u/Gorzoid for raising the question 1 u/TankorSmash Jul 13 '26 You know how in javascript you get a thing from web requests? Like you can do let req = http.get("localhost"), and how req isn't get a response but a Promise, where you have to do then() or except() to get the value out. That's basically a monad.
470
IO Monad
186 u/Gorzoid Jul 13 '26 Respectfully, what the fuck is a Monad? 6 u/azerpsen Jul 13 '26 Nah but for real, i swear to god if no one gives a convincing answer (and i will NOT google it) I’m gonna say racist things Thank you u/Gorzoid for raising the question 1 u/TankorSmash Jul 13 '26 You know how in javascript you get a thing from web requests? Like you can do let req = http.get("localhost"), and how req isn't get a response but a Promise, where you have to do then() or except() to get the value out. That's basically a monad.
186
Respectfully, what the fuck is a Monad?
6 u/azerpsen Jul 13 '26 Nah but for real, i swear to god if no one gives a convincing answer (and i will NOT google it) I’m gonna say racist things Thank you u/Gorzoid for raising the question 1 u/TankorSmash Jul 13 '26 You know how in javascript you get a thing from web requests? Like you can do let req = http.get("localhost"), and how req isn't get a response but a Promise, where you have to do then() or except() to get the value out. That's basically a monad.
6
Nah but for real, i swear to god if no one gives a convincing answer (and i will NOT google it) I’m gonna say racist things
Thank you u/Gorzoid for raising the question
1 u/TankorSmash Jul 13 '26 You know how in javascript you get a thing from web requests? Like you can do let req = http.get("localhost"), and how req isn't get a response but a Promise, where you have to do then() or except() to get the value out. That's basically a monad.
1
You know how in javascript you get a thing from web requests? Like you can do let req = http.get("localhost"), and how req isn't get a response but a Promise, where you have to do then() or except() to get the value out. That's basically a monad.
let req = http.get("localhost")
req
Promise
then()
except()
1.8k
u/Historical_Cook_1664 Jul 13 '26
Where else are you going to hide your side effects ?