Click here to Skip to main content
15,905,028 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: Unbelievably, today I learned a new C# syntax trick! PinPopular
RossMW25-May-16 20:54
professionalRossMW25-May-16 20:54 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Richard MacCutchan25-May-16 21:09
mveRichard MacCutchan25-May-16 21:09 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
RossMW25-May-16 21:13
professionalRossMW25-May-16 21:13 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Super Lloyd25-May-16 23:58
Super Lloyd25-May-16 23:58 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Eytukan25-May-16 21:59
Eytukan25-May-16 21:59 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Super Lloyd25-May-16 23:57
Super Lloyd25-May-16 23:57 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Eytukan26-May-16 0:25
Eytukan26-May-16 0:25 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
BillWoodruff25-May-16 23:46
professionalBillWoodruff25-May-16 23:46 
Hi, Super Lloyd,

Yeah, been using this a long while.

The code example by Icaza is kind of "scary," though. Over twenty aliases for System.IntPtr. Clearly, he doesn't like to declare variables the "usual" way; I also find his use of lower-case aliases for Types that would usually have an initial upper-case letter (or use camel-casing) ... strange.

However, looking at that code, it does appear "consistent," and I assume part of his motivation for writing in this format has to with the multi-platform aspect of it.

cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Super Lloyd25-May-16 23:56
Super Lloyd25-May-16 23:56 
GeneralRe: Unbelievably, today I learned a new C# syntax trick! Pin
Smart K827-May-16 2:52
professionalSmart K827-May-16 2:52 
GeneralIf it's not one thing, it's another... Pin
Brisingr Aerowing25-May-16 13:57
professionalBrisingr Aerowing25-May-16 13:57 
GeneralRe: If it's not one thing, it's another... Pin
Mycroft Holmes25-May-16 14:20
professionalMycroft Holmes25-May-16 14:20 
GeneralRe: If it's not one thing, it's another... Pin
Marc Clifton27-May-16 15:05
mvaMarc Clifton27-May-16 15:05 
GeneralRe: If it's not one thing, it's another... Pin
Super Lloyd25-May-16 16:44
Super Lloyd25-May-16 16:44 
GeneralRe: If it's not one thing, it's another... Pin
Michael Martin25-May-16 16:55
professionalMichael Martin25-May-16 16:55 
GeneralRe: If it's not one thing, it's another... Pin
OriginalGriff25-May-16 20:22
mveOriginalGriff25-May-16 20:22 
GeneralRe: If it's not one thing, it's another... Pin
Michael Martin25-May-16 20:53
professionalMichael Martin25-May-16 20:53 
GeneralRe: If it's not one thing, it's another... Pin
Nagy Vilmos25-May-16 23:32
professionalNagy Vilmos25-May-16 23:32 
JokeRe: If it's not one thing, it's another... Pin
phil.o25-May-16 22:17
professionalphil.o25-May-16 22:17 
GeneralRe: If it's not one thing, it's another... Pin
Brisingr Aerowing26-May-16 6:47
professionalBrisingr Aerowing26-May-16 6:47 
GeneralRe: If it's not one thing, it's another... Pin
#realJSOP26-May-16 1:23
professional#realJSOP26-May-16 1:23 
QuestionCoding puzzle Pin
virang_2125-May-16 13:32
virang_2125-May-16 13:32 
GeneralRe: Coding puzzle Pin
PIEBALDconsult25-May-16 13:56
mvePIEBALDconsult25-May-16 13:56 
AnswerRe: Coding puzzle Pin
ImHere2Learn25-May-16 18:49
professionalImHere2Learn25-May-16 18:49 
AnswerRe: Coding puzzle Pin
Staffan Bruun25-May-16 19:48
professionalStaffan Bruun25-May-16 19:48 

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.