Naming Issues for Libraries: brevity versus clarity

Goal: Implement same procedure in Jscheme with same abstractions by building lightweight libraries on top of three java classes:
Library Source Lightweight access
pattern matching/replacingjava.util.RegEx(// PAT) (/// PAT REP)
recursive file** DIR FILTER)
system accessjava.lang.Runtime(run CMD . ARGS)

Reusable version , give descriptive names to more subexpressions
Developer's brief version -- short/symbolic names for oft-used patterns
Perl wanna-be version --give procedures and macros 1-character names,

The use of functional iteration (e.g. for-each and map) also lightens the code considerably.

back to top

set preferences

LL2, Saturday 9 November 2002, Tim Hickey/Ken Anderson