Curl curliosities

A google on Curl {make-elastic reveals an old link to a Curl 1.0 test in Siemens’ Executive Information Systems

The Curl Documentation Viewer tells us that Elastic is public, abstract, sealed class inheriting from Dimension and InitRestArgParser housed in the package CURL.UTIL.ELASTIC

If you have watched JavaScript+CSS web developers struggle with smart-resizing for business bar chart graphics you may see the point of a language intended for dynamic web pages. Underling each graphic on a Curl page is an Elastic which understands re-sizing and provides a full API. make-elastic requires parameters which are Distance’s, a kind of Curl Quantity; it does not accept pixels, which are resolution dependent. This leaves no excuses for Font mismatches with business graphics as font attributes are themselves Distance’s. It makes me wonder what could have been if in 1995 Curl had adopted Oz values with data-types and dataflow rather than destructive-assignment of typed variables.
Oz has cells for objects needing attributes so OOP is unaffected. It would have been a Curliozity.

Leave a Reply

You must be logged in to post a comment.