1. 4FIPS
  4. APPS
  5. CODE
  7. ABOUT


Forums dedicated to the projects hosted at 4FipS.com

Skip to content

Instance creation in the FSHUB Engine (DevLog #1)

> Coding, hacking, graphics, game dev, and such...

Instance creation in the FSHUB Engine (DevLog #1)

Postby fips on Sun Jul 18, 2010 9:09 pm

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." /Brian Kernighan/

I have to fully agree with the statement above. After a great deal of time experimenting with Generic Programming using C++ Templates in higher levels of Abstraction I'm switching back to Abstract Base Classes. The main reason is that designing with ABCs is realy straightforward, hence easy to debug. Moreover, the debugging of ABCs itself is well supported by Development Tools, which is also of great importance.

So I've just started with the next iteration of my FSHUB Engine, Yes once again :). Here's the basic module setup with chained Object Factories, all expressed as ABCs:

User avatar
Site Admin
Posts: 163
Joined: Wed Nov 12, 2008 9:49 pm
Location: Prague

Instance creation in the FSHUB Engine (DevLog #1)



Return to General Discussion, Tech Talk & Blog

Who is online

Users browsing this forum: No registered users and 1 guest