News for hackers. Stuff that matters.
Re:Pretty Lisp by taliesinb on Wednesday February 29, 2012 @07:03PM (#3650349)
I elaborate a bit on this point in my comment below about Scratch. My claim is that this 'pretty lisp' is still stuck in the flat-text mindset, doing something pretty much identical to indenting. Whereas what we really want are graphical (in the sense of network) editors.
Re:Pretty Lisp by shaunxcode on Wednesday February 29, 2012 @11:34PM (#3650927)
One of my "if I didn't have 30 other projects" projects is a minecraft type environment meets scratch event model/"build your own block" style system. Let kids interactively script their 3d world (and not just w/ redstone hah, not that there isn't something awesome about kids rediscovering logic gates from first principals!)
Re:Pretty Lisp by __david__ on Wednesday February 29, 2012 @11:57PM (#3650985)
That's very funny you should mention it--that's been on my list lately as well. I have a nephew that I'd love to teach programming to--he's 9 and loves Minecraft beyond all rationality. I think a simple python/ruby/javascript meets minecraft where you can do simple apple-2 style graphics (material=green_wool; place_block_at 10,10,10) would turn him into a programmer for life.
Re:Pretty Lisp by shaunxcode on Thursday March 01, 2012 @01:54AM (#3651232)
You may want to look into "computercraft" http://www.minecraftforum.net/topic/892282-11-computercraft-... which you can add right now! But I agree it needs to be more than just a terminal - it needs to have the feeling of crafting/building structures. Even if you could "zoom in" with a crafted microscope or something and then create circuits which you can then connect to larger sensors/peripherals.
Re:Pretty Lisp by khafra on Thursday March 01, 2012 @12:38PM (#3653087)
It isn't a huge leap forward conceptually, but the boxes to show scope are a whole lot faster for me to read than counting parentheses.
Re:Pretty Lisp by gringomorcego on Wednesday February 29, 2012 @09:03PM (#3650638)
Can you elaborate?
Re:Pretty Lisp by aristus on Wednesday February 29, 2012 @10:30PM (#3650793)
Not the gp, but I believe the idea is to stop displaying long columns of code like so much wallpaper and instead treat it like the directed multigraph it actually is.
Re:Pretty Lisp by ori_b on Thursday March 01, 2012 @12:22AM (#3651039)
What does that mean? I can't think of any graph-editing GUI that I'd want to use to write code.

There's a reason I still do my graphs in dot, and not in some WYSIWYG editor -- it's much easier to manipulate them.

Re:Pretty Lisp by aristus on Thursday March 01, 2012 @01:20AM (#3651156)
I don't know. I don't think it exists yet. But have you ever seen an expert using etags/search/debugger/etc to bounce around a large codebase? The location of the functions in the file hierarchy doesn't matter at all. The important graph --the important graphs-- are latent in the code itself.
Re:Pretty Lisp by taliesinb on Friday March 02, 2012 @12:54AM (#3655547)
Bingo.
Re:Pretty Lisp by Arelius on Saturday March 03, 2012 @03:12PM (#3661007)
It makes you wonder why we store code in linear text files, when something more similar to a database seems a bit more apt.