News for hackers. Stuff that matters.
Re:The Future of Markdown by kamaal on Friday October 26, 2012 @07:33AM (#4701755)
>>John Gruber's original Markdown.pl is one of the worst small programs

Perl makes it look small, if you have to write something like this in Java or Python, multiply the LOC by at least 20. But I assure it will be higher.

Re:The Future of Markdown by klibertp on Friday October 26, 2012 @02:12PM (#4703438)
No. I was curious and checked - this: https://github.com/waylan/Python-Markdown is slightly below 3k loc mark (2977) excluding extensions, and by the look of it it's much more heavily commented (I didn't strip blank lines or comments at all). Markdown.pl has 1450 loc.

So - no, bullshit, you need to multiply by 2 at most in case of Python :)

Re:The Future of Markdown by draegtun on Friday October 26, 2012 @03:47PM (#4703921)
Another interesting comparison would be with the Text::Markdown CPAN module which is Gruber's original code & comments converted to an OO interface with POD documentation added + bug fixes.

This comes (including blank lines, comments & POD) to 1739 loc - https://metacpan.org/source/BOBTFISH/Text-Markdown-1.000031/...