My buddy says that he tries to program with as little if/else statements as possible, for efficiency's sake. When I asked why he said that if/else's take a somewhat significant part of the program's ressources, so he tries to stay away from them.
Is he right? Are there better ways to execute if/else style code without actually using that structure? Are switch/case structures any better?
EDIT: He wasn't referring to a specific language but more as a general practice. As well as UNIX/Linux and Windows platforms.