Click here to Skip to main content
15,896,063 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: well that's petty Pin
honey the codewitch17-Dec-19 2:04
mvahoney the codewitch17-Dec-19 2:04 
GeneralRe: well that's petty Pin
Cp-Coder17-Dec-19 2:36
Cp-Coder17-Dec-19 2:36 
GeneralRe: well that's petty Pin
kmoorevs17-Dec-19 3:26
kmoorevs17-Dec-19 3:26 
GeneralRe: well that's petty Pin
Gary Wheeler17-Dec-19 6:40
Gary Wheeler17-Dec-19 6:40 
GeneralRe: well that's petty Pin
Sander Rossel17-Dec-19 1:27
professionalSander Rossel17-Dec-19 1:27 
GeneralRe: well that's petty Pin
honey the codewitch17-Dec-19 1:28
mvahoney the codewitch17-Dec-19 1:28 
GeneralRe: well that's petty Pin
Richard MacCutchan17-Dec-19 1:52
mveRichard MacCutchan17-Dec-19 1:52 
GeneralRe: well that's petty Pin
honey the codewitch17-Dec-19 1:55
mvahoney the codewitch17-Dec-19 1:55 
C#
static CodeExpression _ParseExpression(_PC pc){return _ParseAssignment(pc);}static CodeExpression _ParseMemberRef(_PC pc){var lhs=_ParseUnary(pc);
_SkipComments(pc);while(true){switch(pc.SymbolId){case ST.dot:if(!pc.Advance())_Error("Unterminated member reference",pc.Current);if(ST.identifier!=pc.SymbolId)
_Error(string.Format("Invalid token {0} found in member reference",pc.Value),pc.Current);var fr=new CodeFieldReferenceExpression(lhs,pc.Value);fr.UserData.Add("slang:unresolved",
true);lhs=fr;pc.Advance();break;case ST.lbracket:var exprs=_ParseArguments(pc,ST.rbracket,false);var ie=new CodeIndexerExpression(lhs);ie.Indices.AddRange(exprs);
ie.UserData.Add("slang:unresolved",true);lhs=ie;break;case ST.lparen:exprs=_ParseArguments(pc,ST.rparen,true);var di=new CodeDelegateInvokeExpression(lhs);
di.Parameters.AddRange(exprs);di.UserData.Add("slang:unresolved",true);lhs=di;break;default:return lhs;}}}


actual code of mine.

in case you thought the last bit was bad.

Though this was generated by a tool. Like all my code. Big Grin | :-D
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.

JokeRe: well that's petty Pin
Daniel Pfeffer17-Dec-19 2:12
professionalDaniel Pfeffer17-Dec-19 2:12 
GeneralRe: well that's petty Pin
Dan Neely17-Dec-19 2:42
Dan Neely17-Dec-19 2:42 
GeneralRe: well that's petty Pin
honey the codewitch17-Dec-19 4:59
mvahoney the codewitch17-Dec-19 4:59 
GeneralRe: well that's petty Pin
Richard MacCutchan17-Dec-19 2:23
mveRichard MacCutchan17-Dec-19 2:23 
GeneralRe: well that's petty Pin
David Crow17-Dec-19 2:44
David Crow17-Dec-19 2:44 
GeneralRe: well that's petty Pin
Rick York17-Dec-19 5:06
mveRick York17-Dec-19 5:06 
GeneralRe: well that's petty Pin
PIEBALDconsult17-Dec-19 6:55
mvePIEBALDconsult17-Dec-19 6:55 
GeneralRe: well that's petty Pin
honey the codewitch17-Dec-19 6:56
mvahoney the codewitch17-Dec-19 6:56 
GeneralRe: well that's petty Pin
PIEBALDconsult17-Dec-19 8:04
mvePIEBALDconsult17-Dec-19 8:04 
GeneralRe: well that's petty Pin
honey the codewitch17-Dec-19 8:05
mvahoney the codewitch17-Dec-19 8:05 
GeneralThe only thing flat-earthers have to fear... Pin
Sander Rossel16-Dec-19 22:44
professionalSander Rossel16-Dec-19 22:44 
GeneralRe: The only thing flat-earthers have to fear... Pin
pkfox16-Dec-19 23:28
professionalpkfox16-Dec-19 23:28 
GeneralRe: The only thing flat-earthers have to fear... Pin
Daniel Pfeffer16-Dec-19 23:33
professionalDaniel Pfeffer16-Dec-19 23:33 
GeneralRe: The only thing flat-earthers have to fear... Pin
Richard MacCutchan16-Dec-19 23:33
mveRichard MacCutchan16-Dec-19 23:33 
GeneralRe: The only thing flat-earthers have to fear... Pin
dandy7217-Dec-19 4:40
dandy7217-Dec-19 4:40 
GeneralRe: The only thing flat-earthers have to fear... Pin
DRHuff17-Dec-19 5:13
DRHuff17-Dec-19 5:13 
GeneralCCC- 17/12/19 Pin
super16-Dec-19 22:22
professionalsuper16-Dec-19 22:22 

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.