Hello. Can someone explain to me a small moment in the correspondence regarding criticism and suggestions of this new switch-on-strings in the 7th package of Toad, in 334 coin project 334 JSR?
I will quote:
Now that we plan to have closures, do we still need strings-in-switch? Won't a string-to-function map be about as fast (though maybe less convenient)? I don't know what the use cases are for strings-in-switch, but the feature already felt a bit low-benefit to me, and seems even more so now with closures. What is the concept of closures, and why, if implemented, is the question asked whether there is a need for this switch option? What is the connection between them, explain for non-understanding. And also at the expense of the question whether the string-to-function map will be no less fast.
Can anyone do a little introduction to understand this comment? I will be grateful.