Comment

Comment by FZ1

A key hallmark of Python is readability - which this cheat sheet has managed to royally screw up.

It looks more like an XML cheatsheet at first glance.

I work in python full-time for a living, and found myself having to re-examine several times to make sense of this wacky, non-standard notation.

-------

Edit:

Keep in mind there's a standard way to represent these options in a clear, consistent manner (lists, sequences, optional args).

No need to re-invent something that's hard to read and understand.

See: https://docs.python.org/3/library/stdtypes.html#sequence-typ...

parent FZ1 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton