(no title)
ruszki | 16 hours ago
I'm so happy without seeing Python list comprehensions nowadays.
I don't know why they couldn't go with something like this:
[state_dict.values() for mat for row for p]
or in more difficult cases
[state_dict.values() for mat to mat*2 for row for p to p/2]
I know, I know, different times, but still.
unknown|15 hours ago
[deleted]
WithinReason|15 hours ago
[for p in row in mat in state_dict.values()]
ruszki|11 hours ago
One for sure, both are superior to the garbled mess of Python’s.
Of course if the programming language would be in a right to left natural language, then these are reversed.