Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return 2 values from a function
Message
From
22/10/2008 03:29:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/10/2008 02:38:17
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355203
Message ID:
01356211
Views:
32
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform