Jens · @nullmedium
5 followers · 168 posts · Server muenchen.social

Having to replace some quite simple looking legacy C++ code with newer code that looks even worse (at least more complicated).

Ranges (as in a float min/max values) are not returned as a pair/tuple. So every line is a round trip into the lookup logic.

And there is no case where only one of those values are needed.

I guess I need to intervene here with a better API.

#cpp #boyscoutrule #legacycode

Last updated 1 year ago