Skip to main content
33 events
when toggle format what by license comment
May 23, 2017 at 12:38 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Dec 2, 2016 at 1:24 history closed Michał Perłakowski
CommunityBot
Duplicate of Canonical question explaining differences between "var", "let" and "const" in JavaScript
Dec 2, 2016 at 0:14 comment added Michał Perłakowski @Bergi But people often assume that all global variables can be accessed as a property of the global object, so just saying that "let declares global variables" can be a bit misleading (even if technically correct).
Dec 2, 2016 at 0:10 comment added Bergi "Both are global if not in a block." is not even wrong. let does declare global variables. Only the "They behave identical" bit should be adjusted. But that's no big deal, I would even tend to ignore the global-property technicality as it is largely irrelevant to the audience of the post - and for everyone else, we have this canonical question.
Nov 29, 2016 at 21:16 comment added ThinkingStiff Jeebus. I'm the OP. I'm happy to fix any errors in my post. I don't think my post needs to include everything that let does, there are other answers that cover that. I just want to point out the very obvious and simple thing it does, scoping. I want to keep the deprecated section because it's funny and people like it. I don't have time to update right now, but I'm happy to when I get a chance. Thanks for all the input.
Nov 26, 2016 at 8:59 comment added Michał Perłakowski @BoltClock Most of these 16,000 people voted because they got a notification in their inbox, not because they saw a Meta post.
Nov 26, 2016 at 2:42 comment added BoltClock Mod How has no one mentioned the meta effect yet? If we can get 16,000 people to vote for one candidate in the primaries, surely we can round up even an eighth of that to downvote an answer?
Nov 25, 2016 at 16:09 comment added Nominal Animal @Braiam: No, just that you cannot solve the real, underlying problem here. At this site, we must abide by the site rules, it's that simple. Trying to tweak the site focus to include facts is .. not going to work. However, we do not need to take part in the popularity game: instead, we can be ourselves and do what we do, and sow the seeds for something better to grow. I've already shown my recipe above. If you cannot help but be affected by the votes and badges, go for the Unsung Hero.
Nov 25, 2016 at 15:59 comment added Braiam @NominalAnimal so, we should just give up? That is a non-starter solution for a real problem. That we don't have the tools to address the problem at its source (education system and culture actively forming individuals incapable of being critic and inquisitive of the information given) doesn't mean that we cannot do a thing.
Nov 25, 2016 at 15:54 comment added Nominal Animal You misunderstood my point, @Braiam. You cannot fight popularity with facts. Facts are never popular. Narratives about facts are sometimes popular, but never as popular as myths. The OP's task is futile, because this site venerates popularity, with only a hope that popular answers may have some relation to facts. Facts are not important here. It does make me sad, but I deal with it, as should the OP. Pick your questions, make your answer a narrative; present a robust solution, with facts like seasoning. Some of it may stick. Expecting any better from Stack* is irrational.
Nov 25, 2016 at 13:23 comment added Gimby @Braiam people already know, they just choose to not act on the knowledge.
Nov 25, 2016 at 13:22 comment added Braiam @NominalAnimal darn, and here I was creating a brain washing machine that made people see Justin Bieber and PHP as they really are.
Nov 25, 2016 at 2:12 comment added Nominal Animal This question, and many members' responses to it, makes it very clear that Stack Overflow is more about popular answers, rather than correct, verifiable answers. Expressing hope that one leads to the other is, well, hope; nothing more, nothing less. This does reflect current cultural tendencies in Western societies, and therefore should be considered the correct attitude; no re-education necessary.
Nov 24, 2016 at 2:40 answer added Braiam timeline score: 11
Nov 24, 2016 at 0:06 comment added Robert Harvey Mod @Gothdo: Rolled back. Replacing the entire post with yours was not what I had in mind. Sheesh.
Nov 24, 2016 at 0:03 comment added Nathan Tuggy @Memor-X: let has never, to my knowledge, added properties to the global object. That's just not what it's for. So to the extent that the keyword exists in a given version of JS, it does not do what the answer in question says it does. (That is, this was not a breaking change introduced by ES6; it was let's semantics all along.)
Nov 24, 2016 at 0:03 history edited Robert HarveyMod CC BY-SA 3.0
deleted 10 characters in body
Nov 23, 2016 at 23:57 comment added Michał Perłakowski @RobertHarvey Done.
Nov 23, 2016 at 23:54 comment added Robert Harvey Mod Put in your change to the original post. Let's see what happens.
Nov 23, 2016 at 23:53 comment added Michał Perłakowski @RobertHarvey But people googling "let vs var" would still end up in that old question, instead of Documentation.
Nov 23, 2016 at 23:48 comment added Robert Harvey Mod @Gothdo: Have you considered putting your post material into Documentation? That's probably where it really belongs anyway.
Nov 23, 2016 at 23:41 answer added Robert Columbia timeline score: 9
Nov 23, 2016 at 23:30 history edited Michał Perłakowski CC BY-SA 3.0
added 147 characters in body
Nov 23, 2016 at 23:29 comment added Memor-X would these comments still be true if revision 2 hadn''t been approved and replaced javascript with ecmascript-6 3 years after the answer?
Nov 23, 2016 at 23:25 answer added Aaron HallMod timeline score: -7
Nov 23, 2016 at 23:23 answer added Cerbrus timeline score: 17
Nov 23, 2016 at 23:06 answer added user8397947 timeline score: -16
Nov 23, 2016 at 23:02 answer added Robert HarveyMod timeline score: 42
Nov 23, 2016 at 23:00 comment added Drew There is an owner_id in the api stream and elsewhere, but it is a Community effort. To the extent it causes some uproar, it may be locked and mods figure it out.
Nov 23, 2016 at 22:59 comment added Michał Perłakowski @Drew It's not a Community Wiki answer.
Nov 23, 2016 at 22:58 comment added Drew Well it may be their answer but it is a community post.
S Nov 23, 2016 at 22:53 answer added Michał Perłakowski timeline score: -36
S Nov 23, 2016 at 22:53 history asked Michał Perłakowski CC BY-SA 3.0