Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
small addition to editormanager - for convenience only
oBFusCATed:
I'm not against making the API easier and less error prone.
I'm against designing APIs that are slow from the beginning.
People are bad at predicting the future and past experiences have shown that performance matters almost everywhere.
One place you use a bad algorithm or data structure and sometime in the future it shows in the profile.
If you make an adapter or generator like class that has support for range-based-for, I'll be happy to push it.
frithjofh:
i actually had something like implemented, but ir even felt more intrusive. give me some days and i will shape it up and present it to you.
basically it was a class just forwarding the according calls to the existing functions, all awhile providing means to be pkaced in a for loop or even a stl algorithm. with begin() and end() and all that. some static functions and little more
at the time i discarded it because it seemed overkill...
Navigation
[0] Message Index
[*] Previous page
Go to full version