this all seems pretty clean and solid and stuff but what can i do with it that i can't do with object oriented. sell me on functional progra
@admittedlyhuman i don't find myself having problems with unwanted side effects i don't think
-
-
@admittedlyhuman okay a little of problems. but it doesn't seem worth it -
@VesselOfSpirit well, it doesn't seem worth it to a lot of people, which is why functional programming is not very popular -
@admittedlyhuman but it's popular among cool people though -
@VesselOfSpirit I think freeing themselves from worries about side effects lets them do otherwise risky things you might not even consider -
@admittedlyhuman hmm... like what -
@VesselOfSpirit like, lazy evaluation? if you know that only the return value matters you don't need to calculate it until it matters? -
@admittedlyhuman does the code actually end up being faster -
@VesselOfSpirit I think people use lazy evaluation for things like infinitely long lists, so yes definitely - 4 more replies
New conversation -
-
-
@VesselOfSpirit@admittedlyhuman I personnally find that it's harder to program in the functional style, but it makes it easier to debug.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.