Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Repeated insertion of values. #41
First of all, thank you for this superb framework.
It would be a nice addition if the framework supports some kind of bulk insertion mechanism.
See example below:
Well, it does. Not with that syntax of course, but using a simple loop:
Your suggested syntax is of course prettier, although less flexible. Do you have to do that often? I personally had to do that once, and thus didn't really feel the need for such a feature. But if you can convince me it's useful, why not.
I agree with you that the desired requirement can be be fulfilled with a for loop.
For readability and maintainability reasons I think its a nice feature to have. You can construct with one statement the desired operation without using any, ugly, for loop and writing extra code.
I hope this convinces you :)