|
 |
|
|
Simplicity By Design
The H2O programming language was designed, on one hand, to suit the needs of programmers building commercial web-based products. On the other hand, it was designed to be understandable -- by advanced programmers as well as programmers and web designers with little or no formal programming skills.
To accomplish this the H2O language is devoid of unnecessary abstractions that could just as easily be handled by the language. For example, H2O is auto-datatyped. In other words, there is no need to declare variables. It is case-insensitive. It is English-like. The language resembles macro-languages in its simplicity and thus is immediately familiar. A statement may look like:
IF a > 5 THEN DISPLAY "A is larger than 5 <br>" /DISPLAY /IF
The word IF can be in upper or lower case. The statement may be spread across multiple lines, as shown above, or placed on a single line. The words IF, THEN and DISPLAY are English-like. The test a > 5 uses standard comparison operators.
Advanced features utilize standard-looking functions containing arguments seperated by commas. For example:
mysummary = LEFT(mytext,100)
This function places the first 100 characters of the variable mytext into the variable mysummary.
When using H2O the programmer need only understand the following concepts:
- Basic HTML
- Matrices (or Arrays)
- Text Files
- Delimited Text Files
- Variables and Values
- Expressions or Calculations
- Functions with Parameters
H2O users do not need to know about memory allocation, linking and compilation, systems integration, SQL, XML, Corba, SOAP, datatyping, objects, inheritance, classes, threading, bytecodes, streams, function overloading, structures, unions, pointers, and so on.
All of this is replaced by an easy-to-understand and easy-to-use functional language that possesses the same capabilities but none of the abstractions. Furthermore, the H2O language keeps the programmer focused on building features rather than infrastructure. Code is easier to write, has fewer lines, runs faster, is more secure, more portable, more reliable, more robust, and is more scalable.
|
|