Re: Table based programming.



Malcolm McLean wrote:
I want this to be a serious, fruitful thread. Sabateurs will be plonked.

Table-based programming is a new paradigm, similar to object-orientation, procedural decomposition, or functional programming.

The idea is that all the data in the program comes in "tables". A table consists of records and fields, and is thus a 2d entry. Fields may be numbers or strings, and have names, descriptors, prevalidation conditions and postvalidation conditions, and the like.
Note that this means that each field in the table is described by a "data dictionary" which is itself a table, with one record for each field.

Tables are completely transparent to disk caching, sharing, database support, and the like. They can have tiny of massive numbers of records.

There are no other structures. Queues, stacks, trees and the like are things that you do to tables, not the format that the table is in. The idea is that, given a dictionary, you can write automatic editors, viewers, savers and things like that. So most code can be reused. They are designed with business applications in mind, but could be used more broadly.

Now obviously C is not a "table-based programming language" and has no build in support. However paradigms are independent of the language they are implemented in.

My question is, is it practical to design a "TABLE" library for C?


Have you any experience with xBASE tables, usually .DBF files? They've been around for nearly thirty years and are the basis for dBASE, FoxPro, Clipper, xHarbour, et. al.

Practical or not, it is doable and perhaps interesting.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
.



Relevant Pages

  • Re: LSP and subtype
    ... What is the class of problems solvable using UML? ... the language of physics cannot describe. ... whatever paradigm equivalent to 2GL/3GL ... there is still a great need for reuse and generic programming. ...
    (comp.object)
  • Re: OO Methodolgy Perspective
    ... on a methodology like XP (eXtreme Programming) or other Agile ... One of the problems with Structured Programming was that everything about the solution was expressed in computing space terms. ... One thing the OO paradigm brought to the table were a set of step stones to bridge that gap in a systematic way. ... But if the OOA/D has been done correctly, ...
    (comp.object)
  • Re: Can I have Interface & Inheritance together for same class?
    ... etc) and treats class design like rdbms table design. ... Anybody who has a solid grasp of the modular programming paradigm will ...
    (comp.object)
  • Re: New paradigm of introspective OO development
    ... > of serious programming work experience, ... and less to talk of "new paradigm". ... Formalization is essential, imho, ... Ideas are always worth exploring - keep in mind that fixing ...
    (comp.object)
  • Re: New paradigm of introspective OO development
    ... > of serious programming work experience, ... and less to talk of "new paradigm". ... Formalization is essential, imho, ... Ideas are always worth exploring - keep in mind that fixing ...
    (comp.lang.cpp)