Rests are more necessary for some classes then others. Wizards for example are very weak when not using their spell slots. A fighter on the other hand can do most things well with only a short rest. A Warlock also regains his spell slots upon a short rest etc.