Timeline for Pass in single settings object vs multiple setter methods?
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 10, 2011 at 22:21 | vote | accept | User | ||
| Sep 9, 2011 at 4:21 | answer | added | Saeed Neamati | timeline score: 0 | |
| Sep 8, 2011 at 20:20 | answer | added | tp1 | timeline score: 1 | |
| Sep 8, 2011 at 18:34 | answer | added | Matthieu M. | timeline score: 3 | |
| Sep 8, 2011 at 16:17 | answer | added | Tangurena | timeline score: 1 | |
| Sep 8, 2011 at 15:39 | comment | added | DeadMG |
You should be sorry for the C# example. If I see a question tagged C++, I expect to see C++ code.
|
|
| Sep 8, 2011 at 3:46 | comment | added | The Muffin Man | @Gary, avoiding braces looks cleaner to me. I've never, not even once had any code problems caused by writing in this style. It could happen though... | |
| Sep 8, 2011 at 2:54 | comment | added | Gyan | Now there's something worth avoiding :) I was debating for a while whether I should bother making the comment. It was more for @Nick though. | |
| Sep 8, 2011 at 2:38 | history | edited | User | CC BY-SA 3.0 |
added 18 characters in body
|
| Sep 8, 2011 at 2:38 | comment | added | User | Well as I said it's pseudocode. Would never avoid braces in real code. I'll fix it to avoid this line of discussion. | |
| Sep 8, 2011 at 1:16 | comment | added | Gyan | Avoiding braces is a bad idea. programmers.stackexchange.com/questions/16528/… | |
| Sep 8, 2011 at 1:01 | comment | added | The Muffin Man | I would have inverted your if statement and added a continue keyword to avoid possible braces by putting more than one line of code in the if block. | |
| Sep 8, 2011 at 0:54 | answer | added | Demian Brecht | timeline score: 2 | |
| Sep 8, 2011 at 0:44 | answer | added | Karl Bielefeldt | timeline score: 5 | |
| Sep 8, 2011 at 0:19 | answer | added | Kevin | timeline score: -2 | |
| Sep 8, 2011 at 0:07 | history | asked | User | CC BY-SA 3.0 |