3 ms·
I think those kinds of articles are really unfair. Yes, Erlaing is 500 line for code -- but this includes text parsed and I/O, main loop, nice descriptive name
by theamk 6y ago
I think those kinds of articles are really unfair.
Yes, Erlaing is 500 line for code -- but this includes text parsed and I/O, main loop, nice descriptive names, good test suite.
The "shorter" APL version has none of this, it is just the main function.
Rewrite APL version to add I/O, text parsing and unit tests; rewrite erlang version to get rid of all the descriptive names and extra whitespace -- and then you can have a fair comparison.
- remexre 6y agoHow possible would it be to use APL as a DSL, or to include one file of it in a larger Erlang/Elixir project?