3 ms·
I find it amusing because I'm a Rubyist who has been trying to pick up some Python and I have exactly the same problem. There seems to be several ways to do eve
by petercooper 5y ago
I find it amusing because I'm a Rubyist who has been trying to pick up some Python and I have exactly the same problem. There seems to be several ways to do everything (particularly around working with containers, lists, dicts, etc.) and not a lot of consistency as to the approach taken a lot of the time (e.g. functions versus methods on objects).
- prescriptivist 5y agoAgreed. Also a Rubyist that has worked on some fairly large Python codebases and aside from your points (builtins vs object dispatch) I've found certain forms of list comprehension and moreso, decorator abuse, to be some of the most difficult things to deal with at times and as easily on the level as any magic I've encountered in Ruby.