Talk:User defined pipe and redirection operators: Difference between revisions

m
Line 80:
'''Rationale''': Pipes appear in a hoard of different languages. It always bugs me when a feature is '''cemented''' into a language and hence cannot enhanced. Being such a wide spread and useful concept, it would be nice to simply define a few new operators and have piping/redirection available in the new language.
 
Indeed, having to the ability to add pipes & redirections to a language means a coder can evolve the pipe/redirection definition to match the environment. For example the pipe/redirection operators defined above are "[[wp:Strong typing|strong typed]]" (currently '''string'''), hence the compiler will detect data of the wrong type (currently '''string''') being piped to the wrong "coprocedure" type and report with a '''compile time''' semantic error, hence one [[wp:Unit_testing|unit test]] script just wrote itself!! (joy).
 
[[User:NevilleDNZ|NevilleDNZ]] 03:26, 13 September 2011 (UTC)