"haskell will make you a better programmer" does *NOT* mean you should learn haskell and then port the idioms into every other language line by line. you don't need to add monads to python. please don't add monads to python
god i wish i was a wolf ill even be a fox or a jackal just something canid i cant stand being in this disgusting human body anymore i need fur i need paws i need a TAIL I NEED AFUCKING TAILEVERY NIGHT I PRAY TO EVERY GOD OF EVERY FAITH TO DO SOMETHING ANYTHING IM SICK IM DISEASED
@Aron_Adler its pretty simple if you just draw out the probability tree diagram. assume that you picked door 1. consider the 3 equal weight outcomes of the car being behind door 1, 2, or 3. then consider what happens if you switch in each case. then compute the sum probability
@lemire most talented software engineers succeed despite the structure of higher ed, and made it through tough courses only because they already learned that material on their own. i think most cs curriculum are very poor and are in desperate need of reimagining
stop trying to "understand monads". download haskell, and just start writing code in it. copy paste from a tutorial. modify it. see what happens. read the docs. read someone elses code. stop listening to people explain them in the abstract
My main problem when teaching programming is to get beginners to understand that you never become good by reading and listening alone. You have to program to learn how to program.
@SaniOSRS it wasn't quite as bad but perilous moons also had a bug where the npc becomes invisible on release when there were so many people simultaneously in the area. they really ought to fix whatever is at the root of this problem because enemies being unclickable is worst case scenario
@antikuffarphobe yes that would be a state monad. i dont know if this video is wrong or right but if you think that state monad and maybe monad are the same thing then you have drawn the wrong conclusions from it
@antikuffarphobe you showing a slide with a fake language and then a screenshot of c++ and having an impaired understanding of monads is exactly why i suggested learning haskell instead of doing whatever this is