Also, don’t forget the obvious where you’re forced to use padding, such as when you have borders or backgrounds and you want space inside the border/background instead of outside.
simple, but useful observation (unless you use box-sizing: border-box property) in comments below the mentioned hackernoon article: If you want to make your box bigger without expanding the area that your content contains, then use padding.