Show HN: A multi-markup reader in less than 100 lines of Python code
gist.github.com
gist.github.com
I'd love to see here really well designed, documented, and implemented projects doing complicated stuff in simple way.
> import json
> import yaml
You can make a useful thing by only adding 100 lines of glue to existing libraries is still a useful thing.
For me, what stood out in this submission was that none of the 100 lines are talking about markup. Thus what we have here is 100 lines of front-end and tests.
> I just invented terminal web browser in two lines of Shell code!
#!/bin/sh
links2More like I'm tired to write 20 lines of code each time I have some object or a file that needs parsing, and it can be any kind of markup
This overpraising prompted a non-technical member of the agency (who fancied himself technical) to announce that it certainly didn't deserve to be called a framework because it could be done in one line of JavaScript and he would be happy to demonstrate it to anyone who cared to see.
Demonstration never came out but I always assumed he had mistaken RDDL for RSS and had a library for parsing RSS from somewhere, maybe the one that OReilly had at the time which I think was named after some marsupial, and somewhere he'd seen an example one-liner using it.
I just remember his super confident braying "It's only a one liner, I'll show it at my desk."
It really only screams "Node.js dev's first Python library" to me.
Besides I'm not a nodejs dev nor is this my first library.