@mardy No, I would say that is a misunderstanding of the situation.
If you uninstall LibreOffice, should Ubuntu delete all the documents created with it from your hard drive? If you remove VSCode, should all the code you wrote also be deleted?
Of course not. The only way it would be acceptable to delete such data when uninstalling, is if the user could be made fully and cogently aware of exactly what data may be deleted, and give them an option to preserve said data without forcing them to keep the app as well.
Only after some large improvements to how we handle data and config storage, should this be considered, I think.