|
|
|
|
|
by karmakaze
543 days ago
|
|
The thing I like about Python over Ruby is the one way to do a thing mentality. Ruby reverses this and has multiple ways from keywords if/unless and standard library filter/select, find/detect, etc--this drives me batty. The other infuriating is the subjectively surprising uses of the ! suffix on method names. `compact!` is a double whammy which mutates in-place (as expected) but also the return value is sometimes self and other times nil. |
|
In my experience, Python utterly fails at that goal. I wrote about that in another comment years ago:
https://news.ycombinator.com/item?id=34246550