On 2017-09-27 03:48, Stefan Ram wrote:
Steve D'Aprano <steve+pyt...@pearwood.info> writes:
"Do What I Mean" (DWIM) programming is a terrible idea.

   It's an anti-pattern, when one expects the implementation
   to follow different and contradicting rules and then
   somehow guess what was in the mind of the programmer.

   But it's a pattern when it means to strip the language
   of useless boilerplate and still following consistent
   and simple rules. That was what made Python great.

Following the aphorism "Everything should be made as simple as possible, but not simpler", removing 'def' and ':' is probably taking it a bit too far.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to