Click here to Skip to main content
15,901,122 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Super Lloyd9-Dec-19 22:50
Super Lloyd9-Dec-19 22:50 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Jörgen Andersson9-Dec-19 18:40
professionalJörgen Andersson9-Dec-19 18:40 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
honey the codewitch9-Dec-19 18:41
mvahoney the codewitch9-Dec-19 18:41 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Jörgen Andersson9-Dec-19 19:56
professionalJörgen Andersson9-Dec-19 19:56 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
the goat in your machine9-Dec-19 20:27
the goat in your machine9-Dec-19 20:27 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Sander Rossel9-Dec-19 21:44
professionalSander Rossel9-Dec-19 21:44 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
honey the codewitch9-Dec-19 21:45
mvahoney the codewitch9-Dec-19 21:45 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Marc Clifton10-Dec-19 2:20
mvaMarc Clifton10-Dec-19 2:20 
honey the codewitch wrote:
using postfix-inc in array indexer like _array[index++],


Well, array[++index] does something different than array[index++], so what's the issue with postfix when you want the index to increment after accessing the value at that index?

int[] foo = { 1, 2, 3, 4, 5 };
int i = 0;
int j = 0;
Console.WriteLine(foo[++i]);
Console.WriteLine(foo[j++]);


2
1

GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
honey the codewitch10-Dec-19 2:25
mvahoney the codewitch10-Dec-19 2:25 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
den2k8810-Dec-19 3:05
professionalden2k8810-Dec-19 3:05 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
Chris Maunder10-Dec-19 4:33
cofounderChris Maunder10-Dec-19 4:33 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
honey the codewitch10-Dec-19 4:36
mvahoney the codewitch10-Dec-19 4:36 
GeneralRe: I get docked for style a lot when I code, but look at Microsoft's reference source Pin
dandy7210-Dec-19 5:29
dandy7210-Dec-19 5:29 
GeneralToday I just rocked. Pin
honey the codewitch9-Dec-19 14:45
mvahoney the codewitch9-Dec-19 14:45 
GeneralRe: Today I just rocked. Pin
Maximilien9-Dec-19 15:10
Maximilien9-Dec-19 15:10 
GeneralRe: Today I just rocked. Pin
honey the codewitch9-Dec-19 15:14
mvahoney the codewitch9-Dec-19 15:14 
GeneralRe: Today I just rocked. Pin
Richard Deeming11-Dec-19 1:23
mveRichard Deeming11-Dec-19 1:23 
GeneralRe: Today I just rocked. Pin
honey the codewitch11-Dec-19 2:10
mvahoney the codewitch11-Dec-19 2:10 
GeneralToday was a very good day PinPopular
Sander Rossel9-Dec-19 7:40
professionalSander Rossel9-Dec-19 7:40 
PraiseRe: Today was a very good day Pin
RickZeeland9-Dec-19 7:48
mveRickZeeland9-Dec-19 7:48 
GeneralRe: Today was a very good day Pin
Cp-Coder9-Dec-19 8:50
Cp-Coder9-Dec-19 8:50 
GeneralRe: Today was a very good day Pin
RickZeeland9-Dec-19 8:54
mveRickZeeland9-Dec-19 8:54 
GeneralRe: Today was a very good day Pin
Cp-Coder9-Dec-19 9:07
Cp-Coder9-Dec-19 9:07 
GeneralRe: Today was a very good day Pin
Rick York9-Dec-19 11:29
mveRick York9-Dec-19 11:29 
GeneralRe: Today was a very good day Pin
Cp-Coder9-Dec-19 12:30
Cp-Coder9-Dec-19 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   501 votes