Message disclaimer: I don't pretend to know it all, and my advice probably isn't the best. Coding is one of my hobbies, and I've been doing it for around 15 years. I try to make my code easy for me to understand since I'm the one that maintains it and uses the final product. If you like your way better or think I'm full of crap, then that's your prerogative. I fully realize that all the message thus far in this thread have been constructive criticism, and I'm not angry or trying to be defensive about anything. I'm just posing my point of view and trying to help others that may be having trouble figuring out things that I know how to do.
I'm going to toss this out there just for the sake of asking....no other reason at all......
Has anyone here ever really reused a view for anything other than what they designed it for? I totally understand the concept, but I don't see how it can be actually applied (not to say that it can't, but I'm sure you understand what I'm saying...or maybe you don't LOL).
And as a side note to noobs, my advice is don't get too caught up in coding standards right off the bat. Try to do things the right way, but don't be afraid to "break the rules" if you need/want/have to; just try not to develop too many bad habits along the way.
|