Re:LightTable detailed critique: Concept vs Reality
by feiern on Sunday April 22, 2012 @06:11AM
(#3874466)
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).
Re:LightTable detailed critique: Concept vs Reality
by Swizec on Sunday April 22, 2012 @06:25AM
(#3874492)
Honestly, I've been aching for this to become a reality ever since I saw that talk.
Re:LightTable detailed critique: Concept vs Reality
by spuz on Sunday April 22, 2012 @06:05AM
(#3874453)
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.
Re:LightTable detailed critique: Concept vs Reality
by tluyben2 on Sunday April 22, 2012 @06:18AM
(#3874484)
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.
Re:LightTable detailed critique: Concept vs Reality
by rabbidrabbit on Sunday April 22, 2012 @06:02AM
(#3874447)
Instant feedback is what makes LightTable the great concept it is.
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.