Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks like a lazy functional Python ) Very nice aesthetics of presentation.

There are a few things I am concerned, if you don't mind: I think that actually visualizing lazy computation can be quite a challenge, because of its on-demand nature. One might say that a lazily defined expression is computed (and should be visualized) where it's used, rather than where it's defined. There is a lot of substitutions going on under the hood, and computation is not as clearly localized as it would be in eager evaluation. Also, the tight binding between the code and the visualizations may limit your ability to optimize code for efficiency.

The True / False switch looks cool, but it feels like you are cheating here a little bit by using a boolean literal. Would it look equally nice if it's a function call or some complex expression that is possibly not known yet (as in a function definition)? I have a feeling that at the end of the day Luna may require a very complex visual language that is not easier than the textual alternatives.

But this is more like arbitrary concerns that will be hopefully clarified once you release the whole system. Thank you for your work.

Thumbs up for exploring these new alternative for writing code. I think, it may help us write better and safer programs in the future.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: