Overlaoding, when and where to use?
View Single Post
10-28-2009, 02:16 AM
Join Date: Feb 2007
Ok, I was also told the performance hit of overloading is fairly miniscule. My intentions for it were to create a user class that retrieves user data. This way if ever the user table changed ( more fields were added ) I could access them right away.
I guess I could have done the same with a get and set method, loading the data to an array to begin with and retrieve through methods. Oh well, just trying to get a better understanding of overloading. Thanks!
View Public Profile
Send a private message to Killswitch
Find More Posts by Killswitch