I think a function is &quot;better&quot;, but the print statement should have been preserved.<p>Print is used either for:<p>1) Writing to stdout&#x2F;stderr
2) Debugging the hacky way<p>The print function is better for the former (though more often than not, I use Armin Ronacher&#x27;s click.echo for compability)[0], but I fastly prefer the print statement for (2). Not dealing with parentheses is always a plus; I can add and remove print statements far more quickly.<p>I find it to be an increase in friction, and I don&#x27;t see any real downside in leaving it in.<p>[0] <a href="http:&#x2F;&#x2F;click.pocoo.org&#x2F;5&#x2F;api&#x2F;#click.echo" rel="nofollow">http:&#x2F;&#x2F;click.pocoo.org&#x2F;5&#x2F;api&#x2F;#click.echo</a>