I'd much prefer apps use Dock menus, like the HIG suggests. [1] There are very few apps that need to be permanently in the menubar. Plus, the Dock offers a much more high fidelity icon to represent your app. Seems like a win-win for users and app developers, but this bad pattern keeps getting copied.
[1] https://developer.apple.com/design/human-interface-guideline...