Click here to Skip to main content
15,891,837 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: Thought of the Day Pin
Peter_in_278029-Nov-19 4:52
professionalPeter_in_278029-Nov-19 4:52 
GeneralRe: Thought of the Day Pin
Mike Hankey29-Nov-19 4:59
mveMike Hankey29-Nov-19 4:59 
AnswerRe: Thought of the Day Pin
lopatir29-Nov-19 5:52
lopatir29-Nov-19 5:52 
GeneralRe: Thought of the Day Pin
Duncan Edwards Jones29-Nov-19 6:10
professionalDuncan Edwards Jones29-Nov-19 6:10 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani29-Nov-19 6:33
professionalRavi Bhavnani29-Nov-19 6:33 
GeneralRe: Thought of the Day Pin
DRHuff29-Nov-19 7:13
DRHuff29-Nov-19 7:13 
GeneralRe: Thought of the Day Pin
Eddy Vluggen29-Nov-19 7:37
professionalEddy Vluggen29-Nov-19 7:37 
GeneralQuick C# quiz Pin
honey the codewitch29-Nov-19 4:33
mvahoney the codewitch29-Nov-19 4:33 
C#
foo("bar");


does this refer to an invocation of the method foo? or an invocation of the delegate instance referred to by the variable or argument foo?

*headdesk*

C# is massively ambiguous without having type information, so now I get to write a visitor to "patch up" the code dom with type information. So basically i always create these expressions as delegate invocations, but then i have to go back through later and find types, so I can change the right ones to method invocations instead.

I know C family languages require type information to parse (which is unfortunate) but C# takes it to another level. In for a penny, in for a pound I guess.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Quick C# quiz Pin
OriginalGriff29-Nov-19 4:40
mveOriginalGriff29-Nov-19 4:40 
GeneralRe: Quick C# quiz Pin
honey the codewitch29-Nov-19 4:41
mvahoney the codewitch29-Nov-19 4:41 
GeneralRe: Quick C# quiz Pin
Steve Naidamast2-Dec-19 5:49
professionalSteve Naidamast2-Dec-19 5:49 
GeneralRe: Quick C# quiz Pin
nullpointer9-Dec-19 16:39
nullpointer9-Dec-19 16:39 
GeneralRe: Quick C# quiz Pin
Richard Deeming29-Nov-19 4:51
mveRichard Deeming29-Nov-19 4:51 
GeneralRe: Quick C# quiz Pin
honey the codewitch29-Nov-19 4:52
mvahoney the codewitch29-Nov-19 4:52 
GeneralRe: Quick C# quiz Pin
OriginalGriff29-Nov-19 5:05
mveOriginalGriff29-Nov-19 5:05 
GeneralRe: Quick C# quiz Pin
PIEBALDconsult29-Nov-19 5:00
mvePIEBALDconsult29-Nov-19 5:00 
GeneralRe: Quick C# quiz Pin
Richard Deeming29-Nov-19 5:53
mveRichard Deeming29-Nov-19 5:53 
GeneralRe: Quick C# quiz Pin
OriginalGriff29-Nov-19 6:26
mveOriginalGriff29-Nov-19 6:26 
QuestionRe: Quick C# quiz Pin
lopatir29-Nov-19 6:51
lopatir29-Nov-19 6:51 
AnswerRe: Quick C# quiz Pin
honey the codewitch30-Nov-19 4:02
mvahoney the codewitch30-Nov-19 4:02 
AnswerRe: Quick C# quiz Pin
englebart2-Dec-19 2:21
professionalenglebart2-Dec-19 2:21 
GeneralRe: Quick C# quiz Pin
PIEBALDconsult29-Nov-19 8:10
mvePIEBALDconsult29-Nov-19 8:10 
GeneralRe: Quick C# quiz Pin
BillWoodruff29-Nov-19 19:33
professionalBillWoodruff29-Nov-19 19:33 
GeneralRe: Quick C# quiz Pin
enhzflep30-Nov-19 0:29
enhzflep30-Nov-19 0:29 
GeneralRe: Quick C# quiz Pin
honey the codewitch30-Nov-19 3:57
mvahoney the codewitch30-Nov-19 3:57 

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.