Flatpak uses /app so I’m not sure how it’s really “better”
Problem is they both need to create an area with a full separate file system which doesn’t really fit in with the FHS.
Problem is they both need to create an area with a full separate file system which doesn’t really fit in with the FHS.
Then there's the question of app-created data, that would normally go into some dot-directory. Flatpak by default redirects all XDG dirs into ~/.var/app/${appid}, but as a part of the required permissions, the apps can request access to the user homedir or specific subfolders.
Some apps abuse it. Yes, I do mind, when an app liters into ~/Documents/. I'm looking at you, Viber.