The easiest way to save is to keep spending like a student even when you start earning real money. That means avoiding the trap of wanting a bigger house, getting used to expensive food and restaurants, spending money in big brands and all the luxuries people start getting addicted as their salary go up. This goes with the second rule of thumb, never take on debt on depreciating assets. A mortgage for a house is fine, a loan for a TV is not.
It's much easier not changing your lifestyle as income increase than suddenly trying to cut expenses. Of course this advice doesn't really work for people who are paid a low salary but for software developers who earn a multiple of the median income, saving like this is easy.