dead horse and if you really are paranoid you can as I said run lint or have a parser look for missing breaks in the make file.
If you forget most anything in a program you are in trouble. This is far more readable then if else. To each his own.
You can get a whole lot more mileage out of doing comparisons with the constant first then not using switch/case. (mountain out of a mole hill)
Funny how you love pointers that trip up so many people but do not want to deal with switch case. Again to each his own on this one.
If you forget most anything in a program you are in trouble. This is far more readable then if else. To each his own.
You can get a whole lot more mileage out of doing comparisons with the constant first then not using switch/case. (mountain out of a mole hill)
Funny how you love pointers that trip up so many people but do not want to deal with switch case. Again to each his own on this one.
Last edited: