ECL standard library style guide

The ECL code in the standard library should follow the following style guidelines: For example:

my_record := RECORD
  INTEGER4 id;
  STRING firstname{MAXLENGTH(40)};
  STRING lastname{MAXLENGTH(50)};
END;

/**
  * Returns a dataset of people to treat with caution matching a particular lastname.  The
  * names are maintained in a global database of undesirables.
  *
  * @param  search_lastname    A lastname used as a filter
  * @return                    The list of people
  * @see                       NoFlyList
  * @see                       MorePeopleToAvoid
  */

EXPORT DodgyCharacters(STRING search_lastname) := FUNCTION
  raw_ds := DATASET(my_record, 'undesirables', THOR);
  RETURN raw_ds(last_name = search_lastname);
END;

Some additional rules for attributes in the library: