I'm using macs since 8 years now and have a computer science background. I know, that when installing software, OSX is not as nasty as windows. Meaning, instead of dealing with dll libraries and stuff that is installed somewhere in the system, apps in osx usually - by convention - should only use folders like "Application Support" and "Preferences" for their stuff.
Since, there are apps, that don't follow conventions I'd like to know, what structure is encouraged by the system and what not. So I can know for example which folders in
~/Library/ I can delete without sacrificing system stability.
For example in my user-lib folder I had stuff like "MonoAndroid" from which I know where they came from (xamarin) and from which I know whether I want to delete them, because I'm not using the app assosiated with that anymore.
I suppose that the user directories are not that of a big problem with deleting stuff, but there is always this one app, that keeps files also in higher dir's (like said xamarin).
Additionally, I want to clean up a friend's mac, and since I was not using that, I'd like to have and intuition of "what belongs where" and what not.
Is there a guide or something? Or a good documentation about where stuff should go and which folders should not been touched? I searched for that, but did not find anything good, really. Until now I have based my knowledge about osx on knowledge about unix and half knowledge from usage.