News for hackers. Stuff that matters.
Re:Show HN: Super simple static blog generator, Benjen by chewxy on Sunday March 17, 2013 @08:12AM (#5388973)
I have been seeing a lot of static blog generators being paraded around lately. I seriously think that static blog generators should be the next "hello world" when learning a new language. It seems to be useful in doing just that.
Re:Show HN: Super simple static blog generator, Benjen by qznc on Sunday March 17, 2013 @08:33AM (#5389011)
The intention of Hello-World is to check that compiler-linker and basic IO works.

A static blog generator checks that filesystem access works and your language provides a markdown and a template library.

Re:Show HN: Super simple static blog generator, Benjen by chewxy on Sunday March 17, 2013 @09:21AM (#5389092)
Oh I mean it as a way to know how the language works.

EDIT for more information:

Being able to write a static blog generator means you have to learn most of the basic skills in a language from the data structures to objects/functions (whatever floats your boat). You have to also most likely interact with outside systems like I/O and databases (if your static blog generator is db driven). You get to familiarize yourself with packaging/modules that the language uses. So yea, I think creating a static blog generator as a next step after hello world would be great

Re:Show HN: Super simple static blog generator, Benjen by krapp on Sunday March 17, 2013 @03:58PM (#5390740)
I completely agree. I'm still working on my own but already i've learned a lot (among which, it's a bit more difficult than I expected.)
Re:Show HN: Super simple static blog generator, Benjen by barristan on Sunday March 17, 2013 @06:13PM (#5391306)
It does seem to make more sense to just roll your own static site generator rather than try to learn a whole new framework and language like Jekyll, which then might not even give you everything you want. This is particularly true if you where to use a robust templating engine like Jinja2.
Re:Show HN: Super simple static blog generator, Benjen by asb on Sunday March 17, 2013 @10:42AM (#5389321)
For many it is - just take a look on GitHub for the massive number of static site generators people have written for various languages.