Hacker News new | past | comments | ask | show | jobs | submit login

I agree with most of the points - documentation is well covered by IDE's, yep, I guess (don't use IDE's myself) ... finding functions is also pretty solved (personally I just use grep).

But I disagree with the part about small functions and the example being contrived because real world functions aren't small and you can't just get your output directly like that.

First of all, functions should be small. Anything you can unit test, you can put in this sort of instant feedback. It's basically just a unit test! Input goes in, output comes out. Without side-effects or other horrors.

Okay, so not all functions make sense to be unit tested. Sometimes you need an integration test and the function can't have direct output like that ... you have integration tests don't you? Why not just evolve the "Instant feedback" feature to being your set of tests?

I honestly don't care about much else in the LightTable demo. But I love the idea of instant feedback. Especially when working with Haskell or something.




I think the author did not really get the motivation behind the LightTable concept. For those interested, it was this talk that inspired the guy(s): http://vimeo.com/36579366

It's about the instant feedback during development as opposed to the classic change/compile/reload cycle.

Especially for concepts it's important to understand the intention rather than picking on it point-by-point (which in itself, while true for the most part, seems rather pedantic to me).


Honestly, I've been aching for this to become a reality ever since I saw that talk.


As he says in the article, functions should be small but real world code isn't always written the way you'd want it to be. I think instant feedback would be great for understanding a piece of code that I didn't write but the chances are that if I don't understand it it is probably badly factored with large function sizes and mixed responsibilities all over the place.

Ultimately there will be code for which this feature is useful and code for which it is not. I can't say I wouldn't want it to be in my IDE's bag of tools though.


It should be annoying as possible to write/read long functions. I don't know why IDE's/editors make it so easy to write 500 line functions; it's always bad. I interview over 10 programmers/day and function size is a huge filter; you recognize crappy programmers fast that way.


Instant feedback is what makes LightTable the great concept it is.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: