Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66648

Re: Bad Code Snippet of the Day

References <mailman.7119.1392742039.18130.python-list@python.org> <5f3e508e-d4d6-4573-b562-e393f7183f5a@googlegroups.com>
Date 2014-02-19 08:21 +1100
Subject Re: Bad Code Snippet of the Day
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.7127.1392758489.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Feb 19, 2014 at 8:10 AM, Rick Johnson
<rantingrickjohnson@gmail.com> wrote:
> Beyond that this code (either conscientiously or unconsciously)
> exposes the onerous and obfuscation of a language design
> that coddles a global function nightmare paradigm over the
> elegance of true OOP -- talk about cutting off your nose
> just to spite your face!

Humour me, Rick. Pretend I've been awake for 22 hours straight, am
wired on sleep-deprivation and energy drinks, and have no idea what
you're talking about. How exactly does the ability to dynamically
determine which exception to catch coddle a functional paradigm, and
how is it not object oriented?

Also, my face doesn't much care for my nose. It gets in the way. If I
cut my nose off, my face would be happy with me.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bad Code Snippet of the Day Chris Angelico <rosuav@gmail.com> - 2014-02-19 03:47 +1100
  Re: Bad Code Snippet of the Day Rick Johnson <rantingrickjohnson@gmail.com> - 2014-02-18 13:10 -0800
    Re: Bad Code Snippet of the Day Chris Angelico <rosuav@gmail.com> - 2014-02-19 08:21 +1100

csiph-web