Click here to Skip to main content
15,887,683 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: Names Pin
grralph123-Apr-21 22:36
grralph123-Apr-21 22:36 
GeneralRe: Names Pin
Member 986208223-Apr-21 5:26
Member 986208223-Apr-21 5:26 
GeneralRe: Names Pin
grralph123-Apr-21 22:43
grralph123-Apr-21 22:43 
GeneralRe: Names Pin
Kiriander23-Apr-21 6:48
Kiriander23-Apr-21 6:48 
GeneralRe: Names Pin
grralph123-Apr-21 22:47
grralph123-Apr-21 22:47 
GeneralRe: Names Pin
SeattleC++23-Apr-21 8:35
SeattleC++23-Apr-21 8:35 
GeneralRe: Names Pin
grralph123-Apr-21 22:59
grralph123-Apr-21 22:59 
GeneralRe: Names Pin
Stefan_Lang2-May-21 3:32
Stefan_Lang2-May-21 3:32 
For decades I too used i,j,k for loops, but over the last years I increasingly switched to more telling names, so I wouldn't need to constantly check and doublecheck whether or not I'm referencing the right index within a triply nested loop. It's much easier to accidentally use "i" and "j" incorrectly than "row" and "column"!

This change of mind was caused mainly by having to read so many nested loop codes and constantly stumbling over the problem that code containing such nested loops would often do this not just once, but several times, but not always use the same index variables for the same index WTF | :WTF:
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: Names Pin
SeattleC++2-May-21 5:36
SeattleC++2-May-21 5:36 
QuestionIs it just me? Pin
W Balboos, GHB22-Apr-21 1:55
W Balboos, GHB22-Apr-21 1:55 
AnswerRe: Is it just me? Pin
Richard Deeming22-Apr-21 2:09
mveRichard Deeming22-Apr-21 2:09 
GeneralRe: Is it just me? Pin
Richard MacCutchan22-Apr-21 2:38
mveRichard MacCutchan22-Apr-21 2:38 
GeneralRe: Is it just me? Pin
pkfox22-Apr-21 3:35
professionalpkfox22-Apr-21 3:35 
AnswerRe: Is it just me? Pin
CHill6022-Apr-21 2:47
mveCHill6022-Apr-21 2:47 
AnswerRe: Is it just me? Pin
grralph122-Apr-21 3:06
grralph122-Apr-21 3:06 
GeneralRe: Is it just me? Pin
W Balboos, GHB22-Apr-21 4:50
W Balboos, GHB22-Apr-21 4:50 
GeneralRe: Is it just me? Pin
grralph122-Apr-21 5:08
grralph122-Apr-21 5:08 
AnswerRe: Is it just me? Pin
dandy7222-Apr-21 8:24
dandy7222-Apr-21 8:24 
GeneralWSO CCC OTD 2021-04-22 Pin
yacCarsten21-Apr-21 22:26
yacCarsten21-Apr-21 22:26 
GeneralRe: WSO CCC OTD 2021-04-22 Pin
pkfox21-Apr-21 22:34
professionalpkfox21-Apr-21 22:34 
GeneralRe: WSO CCC OTD 2021-04-22 - winner Pin
yacCarsten21-Apr-21 22:52
yacCarsten21-Apr-21 22:52 
GeneralRe: WSO CCC OTD 2021-04-22 - winner Pin
pkfox21-Apr-21 23:44
professionalpkfox21-Apr-21 23:44 
GeneralRe: WSO CCC OTD 2021-04-22 - winner Pin
Chris C-B22-Apr-21 2:32
Chris C-B22-Apr-21 2:32 
GeneralRe: WSO CCC OTD 2021-04-22 - derivation Pin
jsc4222-Apr-21 3:15
professionaljsc4222-Apr-21 3:15 
GeneralRe: WSO CCC OTD 2021-04-22 - derivation Pin
Chris C-B22-Apr-21 3:52
Chris C-B22-Apr-21 3: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.