Friday, January 14, 2011

Weekly release: 1.5.6.9

1.5.6.9 is a snapshot of the work on upcoming major 1.6.0 release. Part of the code was not yet ported to the new platform. Nevertheless it includes all major improvement designed for 1.6.0.

The main change of the coming release is an improved argument syntax. Let's compare -
1.5.6.4:
'program'Output << 
translit'Transliteration::translit'RusLat run:aSource << "%n%n".

1.5.6.9:
'program'Output write &_cyril2lat &literal:aSource << "%n%n".

“&_cyril2lat &literal:aSource” - is called argument signature and allows to reuse the code.
For example we could use the same signature in another method without any change in basic'String code –
basic'String append &_cyril2lat &literal:aSource


In the next posts I will discuss it in details

No comments:

Post a Comment