Saturday, August 24, 2013

Big Goal! -Plugin able code-

In short, if you implement some arbitrary functionality, can it be plugged in and removed easily?
Can you put it into a different app (executable) and demo it as a stand-alone?
Can you make a script (like Python) and run it to test it?
In large software projects I'm involved with (including games) we usually write the code to work as a big piece, get it running, so that the boss can sell it.
If we are lucky, the project does not end, and we can perfect it later.  We can take pieces out and make them plug-in-able, with the goal already stated above.
Good plan?

With my project right now,  implemented already, (but I'm removing the STL vector<>, see post: http://easybestcodetricks.blogspot.com/2013/08/c-code-and-stdvector-stl-remarks.html
I could extract it, and demo it maybe on a cell phone or in a nice web app.
The project specifically allows the user to draw (by mouse or touch) points whose distance is rather arbitrary, the points can become connected with lines to create a closed figure, they are ordered, have highlights, randomly or in groups, which can be deleted by the user, and when deleted the figure is re-opened (lines removed) and the user is back into editing mode, creating new points by moving the cursor or finger, again.
How's that for a description?


No comments:

Post a Comment