Hacker News new | ask | show | jobs
by euphemize 3822 days ago
> 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.

1 comments

> 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).