4 ms·
I've never found a situation where keyword arguments are a better choice than setters. When you're programming in a functional style, perhaps? The idea of a se
by Zak 15y ago
I've never found a situation where keyword arguments are a better choice than setters.
When you're programming in a functional style, perhaps? The idea of a setter doesn't make much sense in Clojure where the native data structures are immutable, implementation inheritance is strongly discouraged and state changes require a little more work than "x = y".