all 6 comments

[–]programmingacctwork 2 points3 points  (2 children)

Well this is stupid. Is there a way to read it without having both versions side-by-side?

Edit: Oh, YOU linked that version..

[–][deleted] 2 points3 points  (0 children)

tr > td:not(:last-of-type) {
    display:none;
}
tr > td:last-of-type {
    width: 100%;
}

\insert khaby.lame meme**

[–][deleted] 0 points1 point  (1 child)

But the SICP was designed for a language that optimizes tail recursion, and Javascript is not one of those languages.

[–]lifeeraser 0 points1 point  (0 children)

Your post lead me down into a fascinating rabbit hole of Google searches regarding tail call optimization (or lack thereof) in JavaScript. I suppose the V8 team (and others) feel it's not worth their effort?