Re: ver 4 source preproc..e ?
- Posted by Critic Aug 11, 2009
- 4600 views
jeremy said...
With the new pre-processor interface, Euphoria has become the most versitle language ever. Ok, I cannot prove that, ...
But I can prove you wrong: Perl has that feature since a long time. (Perl source filters: http://perldoc.perl.org/perlfilter.html.)
Preprocessors also have their problems: 1) What if I want to use the OOP features of one preprocessor in my HTML templates that are handled by another preprocessor? Without proper planing, preprocessors could be incompatible with each other.
2) Preprocessors often are bad hacks: Line information gets lost, debugging becomes harder.
But still, lacking preprocessors is worse.