Such small examples of FP as Lambda for "map" or "filter" collection functions I use almost every day. Used to work with them in Java (google-collection, apache collections) and definitely use it in Python. When I see some iteration using "for" or "while" for some collection only for filter it makes me nervous :)
Didn't think that for someone it may looks like "obscurity". Can't say I got FP so deep. Sometimes it is challenging for me to get idea from FP-style code, but such small things in daily use I find elegant and robust.
No comments:
Post a Comment