Difference between revisions of "Library Description"
m |
m (→See Also) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
simplelib aims to provide a function oriented interface in order to localize usage errors and simplify run time debugging. simplelib provides encapsulated flow-of-control constructs to help minimize the necessity of building complex ad hoc if-then clauses. In a dynamic language like Lua, complex yet robust conditionals can be especially difficult for beginners to build or correct. | simplelib aims to provide a function oriented interface in order to localize usage errors and simplify run time debugging. simplelib provides encapsulated flow-of-control constructs to help minimize the necessity of building complex ad hoc if-then clauses. In a dynamic language like Lua, complex yet robust conditionals can be especially difficult for beginners to build or correct. | ||
− | Currently simplelib stands on its own without any dependence upon other libraries. simplelib names have been chosen to minimize interference/confusion with other libraries, or lua or openeuo keywords. | + | Currently simplelib stands on its own without any dependence upon other libraries. simplelib names have been chosen to minimize interference/confusion with other libraries, or lua or openeuo keywords. Names are encapsulated in immutable interface tables such that misspellings or other calls to nonexistent methods are trapped and reported local to the erroneous call in user code. Major subsystems in simplelib perform standardized parameter type checking to further reduce usage errors prevalent due to lua's dynamic typing of variables. |
== See Also == | == See Also == | ||
* [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib] | * [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib] | ||
+ | |||
+ | * [[Including_simplelib_in_a_Project|Including simplelib]] |
Latest revision as of 17:29, 24 November 2010
The simplelib library is an aggregation of low level 'boiler-plate' code useful in constructing complex scripts. For certain needs that arise in any script of scale, simplelib provides a resilient framework of subsystems with a unified error condition reporting and handling mechanism, standardized calling convention, and strict parameter checking.
simplelib aims to provide a function oriented interface in order to localize usage errors and simplify run time debugging. simplelib provides encapsulated flow-of-control constructs to help minimize the necessity of building complex ad hoc if-then clauses. In a dynamic language like Lua, complex yet robust conditionals can be especially difficult for beginners to build or correct.
Currently simplelib stands on its own without any dependence upon other libraries. simplelib names have been chosen to minimize interference/confusion with other libraries, or lua or openeuo keywords. Names are encapsulated in immutable interface tables such that misspellings or other calls to nonexistent methods are trapped and reported local to the erroneous call in user code. Major subsystems in simplelib perform standardized parameter type checking to further reduce usage errors prevalent due to lua's dynamic typing of variables.