openFrameworks
openFrameworks copied to clipboard
Deprecated functions - centralizing them to optionally not include.
I'm thinking about deprecated functions and remembering some previous discussion in github and other means:
Personally I don't think deprecated functions should survive very long on the core (more than 1 year or a major release) but I know there are important downsides to it, like the books printed on OF - that is a good point
I'm wondering about moving all deprecated functions to an ofDeprecated.cpp / .h so it can be optionally not included. This way we can have the OF backwards compatible and by choice we can disable all deprecated functions. The good side of removing them is having a faster code completion, smaller code completion cache and a tiny bit faster compilation.
in the next image we can see ofRect function (deprecated almost a decade ago) on autocomplete. thoughts? ideas?