Timeline for Can the meaning of the curly brace in Java be expressed in a few paragraphs?
Current License: CC BY-SA 3.0
25 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Dec 25, 2016 at 16:19 | history | edited | user229044Mod | CC BY-SA 3.0 |
added 2 characters in body
|
Dec 25, 2016 at 15:39 | history | edited | honk | CC BY-SA 3.0 |
fixed typo, improved wording
|
Dec 24, 2016 at 18:56 | comment | added | Petter Friberg | This is also probably the best answer to the question on SO, should we migrate it? | |
Dec 24, 2016 at 18:10 | comment | added | Tunaki | @alfasin Yes, the question should be left alone now. The edit fixed its unclearness, with the effect of invalidating the answer provided at that time. There is now an answer, which is "No". I just don't think it's a useful answer that'll help anyone in the future, but at least it's answerable and doesn't deserve deletion. What did deserve deletion was the question in the state it was before (and that is when I voted to delete it). Let's all just realize that, while this discussion lasted several days, hundreds of questions exactly like that one were posted, some of those rightfully deleted. | |
Dec 24, 2016 at 18:07 | comment | added | Nir Alfasi | @Braiam I will, don't you worry. | |
Dec 24, 2016 at 17:57 | comment | added | Nir Alfasi | Now, if there is a question that some members in SO think is useful while other members think it's not. Why not leave it ? To me it sounds almost like: "I don't care about your dog - let's kill it". Hey, but I DO care about it, can't you just let it be ? | |
Dec 24, 2016 at 17:56 | comment | added | Nir Alfasi | @Tunaki there are many things in the language that you can consider as "too broad" since the JLS have a definition that points to other places in JLS which in turn point to other places in the docs and etc. It's useful to quote the JLS in specific cases when only a specific paragraph is relevant to the question. The meaning of code block might be trivial for you but it's not necessarily the case when beginners run into this concept. And I think that there's just no way to resolve this conflict since I do not agree with you that "What is the meaning of a block?" is too broad to answer. | |
Dec 24, 2016 at 9:57 | comment | added | Tunaki |
@alfasin And your comment is why I consider the edited question not useful: answer is going to throw up a general word; that you cannot explain because you're back at square one anyway. In end end, people wondering about { will wonder about something else, and nobody has gained anything out of it. But don't worry.... the thing isn't going to go. Now that the big mess was created, everything will stay untouched.
|
|
Dec 24, 2016 at 9:55 | comment | added | Tunaki |
@alfasin You're barking the wrong tree, what I said was too broad would be to explain every aspects and usage of curly-braces, along with why you would use it, JLS quote, what it does, what it implies, etc. For example, the answer doesn't cover anonymous inner class (and the subtelty of adding {} ), nor instance initializer or static initializer and how they play with class initialization, when they are invoked, etc. There are more examples.
|
|
Dec 24, 2016 at 7:40 | history | edited | rene | CC BY-SA 3.0 |
some typos fixed
|
Dec 24, 2016 at 2:32 | comment | added | Braiam | @alfasin I hope you try I really do | |
Dec 24, 2016 at 2:28 | comment | added | Nir Alfasi | 1. the answer demonstrates that it's not too broad by providing a good answer that covers all the options in a few concise paragraphs. 2. I think that it's valuable since a common meaning to all the options is "a start of new scope". The meaning of scope is something that many young developers struggle with and a good and clear answer could be beneficial for many people. | |
Dec 24, 2016 at 2:28 | comment | added | Nir Alfasi | @Tunaki as I wrote on the other post I opened on meta I believe that not only this question is not too broad, but also an important and valuable one: | |
Dec 24, 2016 at 2:21 | comment | added | Nir Alfasi | @Braiam and then I'll come again and undelete it. If that's how you play I can do it too. Happy holidays! | |
Dec 23, 2016 at 23:10 | comment | added | Braiam | "big drama will lead to absolutely nothing" yeah, I would wait a couple of weeks, when everyone is looking at 2016S, we delete it again, like that hadoop question. | |
Dec 23, 2016 at 23:00 | comment | added | Tunaki | @Braiam Bah sure you can see it that way, I guess it depends if you see it as "Okay, you didn't provide context but you probably want this, so I'll talk about all the usage" (too broad - guess answer, what we ended up with), or "Okay, you didn't provide context, please clarify what it is you're really asking". | |
Dec 23, 2016 at 22:58 | comment | added | Braiam | Ha, no doubt about it. | |
Dec 23, 2016 at 22:58 | comment | added | Tunaki | At least, lots of users earned hats from that Java question... | |
Dec 23, 2016 at 22:57 | comment | added | Braiam | By too broad I meant "Even if you explain what you're trying to achieve (e.g. "What { means?") if you don't explain where you're having trouble accomplishing that, answers would need to cover too many different things and end up being too long." The OP failed to provide a bit of context that could help to narrow it down. | |
Dec 23, 2016 at 22:53 | comment | added | Tunaki | @Braiam Because to answer a question, you first need to comprehend it. If we consider the initial revision, I do not comprehend it. I can guess, but that isn't helpful. | |
Dec 23, 2016 at 22:52 | comment | added | Braiam | "I disagree that the question is too broad" then "crap load of links with different meanings", how is that not too broad (lack of scope and/or context)? | |
Dec 23, 2016 at 22:35 | history | undeleted | Tunaki | ||
Dec 23, 2016 at 22:29 | history | deleted | Tunaki | via Vote | |
Dec 23, 2016 at 22:29 | history | answered | Tunaki | CC BY-SA 3.0 |