I agree :) > better than using negative indices. Not sure I like #from:toFromEnd: as the > selector name, but I like the spirit of it, it makes it explicit. I'd > probably like #copyFrom:fromEnd: better, but that's just personal preference > as it goes better with #copyFrom:to: which would seem to be a related method > in that protocol.
me too. Now I could sacrifice that for polymorphism sake :) I think that polynorphic api are really cool and powerful. > I really don't want to learn 10 different ways to use #at:, I'd rather see 10 > similarly named methods each doing it one way that look like they're all > variations of a theme. When someone comes up with a new idea like > #copyFrom:fromEnd:, it's easier to add that than it is to go back and patch > #at: to do something new, it allows the system to grow over time yet remain > stable for existing code. Yes. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
