map/filter and sum types are not about "fun", they're about correctness and expressiveness.
map/filter and their equivalent loops are both perfectly readable, but the latter involves more boilerplate.
map/filter and their equivalent loops are both perfectly readable, but the latter involves more boilerplate.