Why reset()?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
1 post
• Page 1 of 1
Why reset()?
by Max mtg » 21 Aug 2011, 13:53
I've seen a lot of times reset() method being used instead of just disposing an object and acquiring a new one.
Why is that? Is that a project-wide policy? Do I have to .reset() things in my new code too?
Why is that? Is that a project-wide policy? Do I have to .reset() things in my new code too?
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests