Comment Comment by mercurial My beef with plain functions is that you can't mock them properly. But apart from this, yes. Referential transparency as much as possible. parent mercurial 12 years ago