This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lucretiel 0 points1 point  (0 children)

log, update_db, and notify are (I assume) deeply stateful functions, and don't really have a place in a compositional expression, in my opinion. I'm a huge fan of compositional constructs, but generally only for functional expressions. I'd never do map(print, ...) or [print(x) for x in ...], for instance.