>>106219966
>Im planning to look into FP
be prepared for a week of pain
once it clicks tho, it's really nice
the coolest part about immutable data structures (what I consider to be the main part of FP) are the explicit state transitions. you simply cannot mutate some hash map deep within some nested code without returning a mutated variant through those scopes. this means that, unless you see `some_hash_map = {/* some inner scope... */}`, then you can guarantee that `some_hash_map` has not changed. really aids readability.