openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Deprecated functions - centralizing them to optionally not include.

Open dimitre opened this issue 6 months ago • 1 comments

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?

Screenshot 2023-12-11 at 11 01 41

dimitre avatar Dec 11 '23 14:12 dimitre