Kaleidoscope major changes discussion

#1

I like the new MagicCombo API! It’s much more intuitive.
With the old one, I never figured out what that {0, 0} meant (the documentation didn’t say either). Using magic numbers (pun not intended) in example code is most often a bad idea, especially when they are not explained.

User-visible major / breaking changes coming in Kaleidoscope
(Gergely Nagy) #2

Yeah, that {0, 0} was a major pain-point. It was used as a sentinel, a way to tell the plugin to stop processing the array there. It was required because it didn’t know the size of the array up-front (it does with the new interface, so the sentinel is not required anymore).

Happy to hear you find the new interface to be better! I’m always worried when changing APIs, worried that I’ll make it less intuitive, or that my biases and habits prevent it from being as user-friendly as possible.