Calling it broken is like calling piracy "theft". It's flamebait and it obscures the issue.
528 karma · joined August 1, 2010
Calling it broken is like calling piracy "theft". It's flamebait and it obscures the issue.
The distinction between "complaining" and "doing" doesn't make any sense to me. The OA's intention is to change the way people innovate. This isn't something he can be "doing" in his basement by himself. If he wants the world to be a certain way he can't just _make_ it that way. At some point he's going to have to persuade other people and "complaining" on the internet is a fine place for it.
It would be the same variable with or without lexical scope (by that I mean block-level).
My intended point was that if Javascript had true lexical scope then each iteration of the loop would create a distinct variable. A reference to that variable would then be captured by each closure. You can simulate the behavior of lexical scoping by "abusing" closures as someone mentioned before. Like this:
for ( var i = 1; i < 10; ++i ) ( function( i ) { setTimeout( function( ) { alert( i ) }, i * 250 ) } )( i )
You might expect it to alert 1..2..3..etc. It actually alerts 10..10..10..etc.
That's mostly just true for browsers. Javascript itself has very few faults.
My biggest annoyances with the language are: Lack of lexical scope, no trailing commas and semicolon usage that differs from C.
I could complain all day about my annoyances with browsers (or just IE).
http://en.wikipedia.org/wiki/Brainfuck
http://en.wikipedia.org/wiki/Template_metaprogramming
http://en.wikipedia.org/wiki/Turing_machine
and now apparently HTML + CSS
Realistically, people's convictions change over time. The internet on the other hand is mostly undated. A Google search doesn't return a persons online activity in reverse chronological order. In a traditional environment the absurd things we might say as a result of past convictions will fade as time goes by. Consequently the perception people have of us is biased towards the present. This isn't true for the internet and anonymity is the only way to keep our identities from stagnating.
This sounds really interesting could someone knowledgeable elaborate?
What is the karma threshold on down-voting?
EDIT: I made a diff in GIMP of the shadow. It looks like both the top and bottom left facing ledges are connected. Notice the hard edges between the adjacent pillars.