(original) (raw)
On Sun, 17 Jan 2016, 13:59 Ethan Furman <ethan@stoneleaf.us> wrote:
On 01/17/2016 11:10 AM, Brett Cannon wrote:
> https://www.imperialviolet.org/2014/02/22/applebug.html. Skipping the
> curly braces is purely an aesthetic thing while leaving them out can
> lead to actual bugs.
Not sure what that sentence actually says, but +1 on making them mandatory.
Yeah, bad phrasing on my part. What I meant to say is leaving them off is an aesthetic thing while requiring them is a bug prevention thing. When it comes to writing C code I always vote for practicality over aesthetics.
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org