|
|
|
|
|
by int_19h
545 days ago
|
|
I'll take "properly generalized" over "looks beautiful" any time. At the end of the day, the purpose of the code is to do something, not to be pretty. FWIW you can have both in this case; you just need to make dotted method calls syntactic sugar for global function invocations. |
|