View Single Post
  #7  
Unread 04-21-2013, 11:38 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 341
Quote:
Originally Posted by Stever1388
This is an interesting way to do it too. Any real advantage to doing it either way?
Well, fewer function definitions means a slightly smaller memory footprint but in this case that seems pretty minor. Of course, adding a property to a Turbine generated table runs a minor risk of conflicting with a future Turbine property but that risk is nearly infinitesimal in this case. So, no, there isn't a clear advantage to either solution. I personally would probably use option 1 but that's more a matter of personal preference than actual advantage.
Reply With Quote