1. 4FipS.com
  2. Photos
  3. Videos
  4. Code
  5. Forums
  6. pfQuizzz
  7. About

4FipS.com Forums

Forums dedicated to the projects hosted at 4FipS.com

Skip to content

Instance creation in the FSHUB Engine (DevLog #1)

> About coding, hacking, photography, 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:

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

Instance creation in the FSHUB Engine (DevLog #1)

Sponsor

Sponsor
 

Return to 4FipS.com General Discussion & Blog

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests