wow putting final on classes in wordpress community is like a decease which requires medical intervention. While I can understand, while I do not agree, why it is on WP_Post, on most other classes it is just ridiculous.
lol @fuxia, I meant to write that this is what you will say
@TomJNowell subclassing might cause all kind of issues because someone was too smart and decided that metas are properties. This goes against any reasonable OOP design and should have not done at all.
the funny thing is that I do not think I ever saw a code that actually use meta that way
just force me to go and fork wordpress if I realy need it
got to the whole thing (again) because I want to see if there might be a way to extend the taxonomy class in a way that it will load translation only at actual out put, and then discovered that all classes are final, not only the post
and that even yoast and query monitor has their classes final
Final class + interfaces is a godsend for proper OOP that is based on composition and not inheritance. The problem is that WP is not OOP and classes are used as poor-men namespaces.
If you want to work with WP using OOP than you need to write your tiny facade layer that interacts with WP and offers an OOP interface to your code.
This is worth the trouble only for complex plugins, or if you work on a whole website where you can share the facade layer across all plugins you'll write for the website.