|
|
|
|
|
by PrettyButUgly
3596 days ago
|
|
I'm not much for Common Lisp, but I do think Scheme is the prettiest language in which people write ugly code. As such, while I am sympathetic to the virtues of s-expressions, this example is not going to win any hearts or minds. I don't much care for Python's performance or newer features, but your snippet screams for a comparison: if condition:
a, b, c = c, a, b
a, c, b = b, a, c
That really seems much more clear than the gymnastics my mind has to do manually pairing the assignments inside of psetf. I won't argue that it's objectively better syntax, but I still think it is. |
|
That's the nice thing about Lisps: if you don't like it, you can change it.