Definitely. You'll probably be able to tell ahead of time if what you're building should be reusable in different contexts/projects (e.g. an input system). But for more gameplay-specific code? Just make it work for whatever your game needs it do right now. Who the hell knows if you'll ever actually use it again, and if you do it'll probably still need tweaking anyways.
Definitely. You'll probably be able to tell ahead of time if what you're building should be reusable in different contexts/projects (e.g. an input system). But for more gameplay-specific code? Just make it work for whatever your game needs it do right now. Who the hell knows if you'll ever actually use it again, and if you do it'll probably still need tweaking anyways.