> result of some marketing tactics Apple employed for decades
Or perhaps people really like macOS and their value system is different. I don't think a lot of developers are buying macs due to marketing.
Also, Linux attracts the same fanatic behavior. If you like linux, you don't notice see how many people are pushing it. If you like macOS, you're more likely to notice the people pushing linux because you disagree with them. (And notice the macOS crowd less.)
Or perhaps people really like macOS and their value system is different. I don't think a lot of developers are buying macs due to marketing.
Also, Linux attracts the same fanatic behavior. If you like linux, you don't notice see how many people are pushing it. If you like macOS, you're more likely to notice the people pushing linux because you disagree with them. (And notice the macOS crowd less.)