Click here to Skip to main content
14,327,464 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: Laziest code you've seen this week? Pin
Sander Rossel26-Jul-19 9:54
professionalSander Rossel26-Jul-19 9:54 
AnswerRe: Laziest code you've seen this week? Pin
lopatir26-Jul-19 8:48
memberlopatir26-Jul-19 8:48 
GeneralRe: Laziest code you've seen this week? Pin
RickZeeland26-Jul-19 9:27
mveRickZeeland26-Jul-19 9:27 
GeneralRe: Laziest code you've seen this week? Pin
Slacker00726-Jul-19 9:47
professionalSlacker00726-Jul-19 9:47 
GeneralYours! Pin
CPallini26-Jul-19 11:24
mveCPallini26-Jul-19 11:24 
GeneralRe: Yours! Pin
Gary Wheeler29-Jul-19 2:04
memberGary Wheeler29-Jul-19 2:04 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:42
memberhoney the codewitch26-Jul-19 14:42 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:45
memberhoney the codewitch26-Jul-19 14:45 
bool _IsIndirectlyLeftRecursive(CfgRule rule)
{
	// TODO: FIX 
	return false;
	if (_IsLeftRecursive(rule, null))
		return false;
	if (FillLeftDescendants(rule).Contains(rule.Left))
		return true;
	return false;
}


It's not even this routine that's broken. This is to short circuit the routine that *calls it* because that fork of the conditional is broken.
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: Laziest code you've seen this week? Pin
Randor 26-Jul-19 15:12
professional Randor 26-Jul-19 15:12 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch27-Jul-19 2:51
memberhoney the codewitch27-Jul-19 2:51 
GeneralRe: Laziest code you've seen this week? Pin
Rajesh R Subramanian26-Jul-19 18:49
professionalRajesh R Subramanian26-Jul-19 18:49 
GeneralRe: Laziest code you've seen this week? Pin
Tim Deveaux26-Jul-19 19:37
memberTim Deveaux26-Jul-19 19:37 
GeneralRe: Laziest code you've seen this week? Pin
KarstenK26-Jul-19 22:16
mveKarstenK26-Jul-19 22:16 
GeneralRe: Laziest code you've seen this week? Pin
Member 916705728-Jul-19 20:47
memberMember 916705728-Jul-19 20:47 
GeneralRe: Laziest code you've seen this week? Pin
Simon Hart28-Jul-19 21:30
memberSimon Hart28-Jul-19 21:30 
GeneralRe: Laziest code you've seen this week? Pin
agolddog29-Jul-19 3:31
memberagolddog29-Jul-19 3:31 
GeneralRe: Laziest code you've seen this week? Pin
obermd29-Jul-19 3:47
memberobermd29-Jul-19 3:47 
GeneralRe: Laziest code you've seen this week? Pin
nepdev29-Jul-19 4:39
membernepdev29-Jul-19 4:39 
GeneralRe: Laziest code you've seen this week? Pin
Chris Maunder29-Jul-19 14:05
adminChris Maunder29-Jul-19 14:05 
GeneralI feel young again! Pin
Sander Rossel26-Jul-19 7:22
professionalSander Rossel26-Jul-19 7:22 
GeneralRe: I feel young again! Pin
Slacker00726-Jul-19 7:24
professionalSlacker00726-Jul-19 7:24 
GeneralRe: I feel young again! Pin
Sander Rossel26-Jul-19 7:37
professionalSander Rossel26-Jul-19 7:37 
GeneralRe: I feel young again! Pin
Slacker00726-Jul-19 7:41
professionalSlacker00726-Jul-19 7:41 
GeneralRe: I feel young again! Pin
Mark_Wallace26-Jul-19 9:23
memberMark_Wallace26-Jul-19 9:23 
GeneralRe: I feel young again! Pin
Sander Rossel26-Jul-19 9:52
professionalSander Rossel26-Jul-19 9:52 

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.