I'm developing a code theory which attempts to explain procedural programming.
I start by updating my code on loose style that eventually it become clear to me that a new style of coding was possible, with my background of logic I start to develop the theory for it.
My main point is that It's only possible two use logic in 2 ways:
Singularity to Generic
Generic to Singularity:
which I translates in to concepts or abbreviations of STG and GTS.
With this concept we can attempt to explain how programming works...
So OOP is based mainly on STG. It get a specific problem and creates more examples of the same problem to reach the Generic perspective, which can be translated in to the solution or conclusion of the problem.
Segmentation uses GTS . Structured in a Top Down segment's which deal first with generic examples and descend in to the more specific problems.
So this theory attempt to explain this details, which could allow faster and better programming in the future. So the point is not to
tell directly how people should program but to explain how program is done. Some develop was already done, develop a method for GTS called Load and unload which handles logic for the GTS logic composition. It is a similar to setter and getter, the difference's are explained in the Segmentation theory chapters...
So if you are interested in reading or helping out with the Quest to unveil the wrongly sins of the pass programming developers, be welcome to join at GitHub:
https://github.com/saintsoftware/ge3d : The Code theory can be found in the Folder: Tutorials -> Segmentation_theory -> ...
The first chapters are a bit to loose because this stuff is experimental i'm writing like the guy's that develop programmation was i go along, so the last chapters settle a bit down in terms of writing, though still they need a bit of improving.
For me is a bit boring to improve writing because I'm more connected to logic... When I have time i will see what can be done...
If you want to know more on logic search for: syllogism logic, but to reach this kind of understanding you probably need to practice, and if you don't want to spend good hours in practise you can just follow along and eventually you will understand my perspective. Which will have a implicit understanding of logic.
Edited by jdc, 15 June 2014 - 05:18 AM.