News for hackers. Stuff that matters.
Re:Termtris: A Game Like Tetris in Ten Functions by jewel on Thursday October 09, 2014 @07:26PM (#8435521)
The more flexibility a language gives you in the order you place your code, the better it is for literate programming. If you haven't seen it yet, check out the source code to coffeescript.

Here is the source file: https://github.com/jashkenas/coffeescript/blob/master/src/gr...

Here is a nicely rendered version of the same file: http://coffeescript.org/documentation/docs/grammar.html

Also see literate coffeescript, a mode that seamlessly integrates markdown. I'd give up vim for a environment that lets me embed images, embed SVG diagrams, use those SVG diagrams at compile time to generate code, etc.

Re:Termtris: A Game Like Tetris in Ten Functions by kazinator on Thursday October 09, 2014 @07:53PM (#8435581)
It's a nice sentiment there in your last sentence, but good luck with your git repo, merging parallel changes from multiple developers to your compilable SVG diagrams. :)
Re:Termtris: A Game Like Tetris in Ten Functions by Crito on Thursday October 09, 2014 @08:07PM (#8435616)
I really like this experimental racket language: http://docs.racket-lang.org/unstable/2d.html

I think that done correctly, this sort of concept has a lot of potential. Editor support is pretty necessary though, since without it editing that code would mess with your ascii-art formatting.