When I worked in the restaurant business, if you happened to walk in during staff meal, you could always tell who were the pastry people: we were the ones dousing our food with vinegar and salt. That is, when we had time to sit down and eat. I like sweets, but I like them tempered with something not-necessarily sweet, which is why sometimes you’ll see a squeeze of lemon juice added to a fruit ice cream base or bakers like me include a pinch of salt in batter, to balance things out.
For many years, salted butter was banished from most baking recipes, since the amounts varied by brand and unsalted butter was said to be fresher; the theory was that salt is a preservative adding it to butter may mean the butter is older. In France, you can get the most wonderful salted butter at not just fromageries, but in supermarkets, which usually say on the package that the butter has cristaux de sel de mer, big crystals of sea salt, and they note which region the salt is harvested from as well, giving it provenance.