>I personally have found that most of the stuff they teach you at college is actually based on sound reasoning and experience. For example, whenever I veer from the single function exit -strategy I find that, more often than not, I end up introducing nasty, hard-to-debug bugs.
>
>Readability shouldn't really be a problem if you follow the other cardinal rule of keeping our functions short and to the point.
>
>These are but few of the cardinal rules of programming, just like always using surrogate keys is a cardinal rule of relational database design (I also had to learn this lesson the hard way many moons ago, and boy was that a painful -- and certainly unforgettable -- one to learn.)
>
>You step off the Path of Cardinal Rules at your own peril, because when you do, you may well find yourself in a bewildering jungle without a good (single) exit strategy...
>
>Pertti
The stuff that teach you at college is not always the right one as time and science clearly showed many times in history.
I am asking why it is a bad practice, give me just one solid reason rather than objecting saying it writes in my college book.
Cetin