News for hackers. Stuff that matters.
Re:The Elements of Python Style by euphemize on Monday January 04, 2016 @05:28PM (#10839217)
> This guy got a bunch of things wrong:

> I don't like that.

Not sure how "not liking something" equates getting things wrong, but I agree with most of what the author mentioned.

Using 'x' or 's' for a short lambda makes no difference. 's' could be anything, like 'x'. Unless you're specifically using django, there's no point in renaming _. Agreed with you on the argument lists and exceptions.

Python doesn't have NULL, I think you meant None.

Re:The Elements of Python Style by Walkman on Monday January 04, 2016 @06:12PM (#10839505)
> Unless you're specifically using django, there's no point in renaming _

Consistency? Accidental overwriting gettext alias? Don't forget it's also the last result in the interactive interpreter...

> Python doesn't have NULL, I think you meant None.

I meant "NULL" (with quotes).