Guys and sex

Do guys try to fuck as many girls and then talk about it with friends? (No judgement just curious) and what’s the guy code about dating/fucking exes? As a girl I find the girl code immature but I don’t know how different the guy code or whatever u call it is