Content-Type: text/shitpost


Subject: How not to name variables
Path: you​!your-host​!walldrug​!epicac​!thermostellar-bomb-20​!central-scrutinizer​!fpuzhpx​!plovergw​!shitpost​!mjd
Date: 2020-08-29T13:38:35
Newsgroup: alt.sex.how-not-to-name-variables
Message-ID: <91c373bbae9e6fe4@shitpost.plover.com>
Content-Type: text/shitpost

Python code I wrote today:

    # This is not the most elegant line of code I have ever written
    return [ item for item in data if item["item"]["id"] == item_id ]

Larry Wall says that a successful program is one that does its job before your boss fires you. Somehow I don't imagine Guido being as lenient.