Click here to Skip to main content
15,910,009 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: Kicking the Can Down the Road Pin
#realJSOP5-Mar-21 2:37
professional#realJSOP5-Mar-21 2:37 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 6:15
professional#realJSOP2-Mar-21 6:15 
GeneralRe: Kicking the Can Down the Road Pin
pkfox3-Mar-21 2:05
professionalpkfox3-Mar-21 2:05 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP3-Mar-21 2:29
professional#realJSOP3-Mar-21 2:29 
GeneralRe: Kicking the Can Down the Road Pin
Jacquers2-Mar-21 0:38
Jacquers2-Mar-21 0:38 
GeneralRe: Kicking the Can Down the Road Pin
Maximilien2-Mar-21 2:06
Maximilien2-Mar-21 2:06 
GeneralRe: Kicking the Can Down the Road Pin
raddevus2-Mar-21 2:43
mvaraddevus2-Mar-21 2:43 
GeneralRe: Kicking the Can Down the Road Pin
honey the codewitch2-Mar-21 3:48
mvahoney the codewitch2-Mar-21 3:48 
First of all, it makes too much sense for them to use, unless you can convince them it was their idea. Laugh | :laugh:

Good show. Generating connection strings that is. I've never liked them and often found myself doing similar, and yes, because of security.


#realJSOP wrote:
The code has almost as many lines of comments as there are lines of actual code.


I hate to say this, but that's a red flag to me.

1. Are you using comments where you should be using documentation? You're perhaps either duplicating effort and creating maintenance issues #2, or you're using comments for where you need documentation - it sounds like in your case it's the former, since you have a 6 page doc.

2. What of maintenance? Is your code not clear enough to stand on its own absent all the comments? If not, why not spend that time refactoring instead? Every line of code is important. A comment is still a line of code. It must be maintained, too. If the source changes, and the comments get out of sync, then they become counterintuitive. Comments should be avoided if possible, for the same reason other lines of code should be. The most bug free, efficient code is the code you never wrote. I break this rule in one place - writing articles for code project with code in them - because comments allow me to describe what I'm doing as I'm doing it, but in normal circumstances, you aren't writing your comments for learners, but for maintainers.

/design-hat

*ducks*
Real programmers use butterflies

GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 5:10
professional#realJSOP2-Mar-21 5:10 
GeneralRe: Kicking the Can Down the Road Pin
honey the codewitch2-Mar-21 5:14
mvahoney the codewitch2-Mar-21 5:14 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 5:29
professional#realJSOP2-Mar-21 5:29 
GeneralRe: Kicking the Can Down the Road Pin
honey the codewitch2-Mar-21 7:24
mvahoney the codewitch2-Mar-21 7:24 
GeneralRe: Kicking the Can Down the Road Pin
NightPen3-Mar-21 6:45
NightPen3-Mar-21 6:45 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP3-Mar-21 7:01
professional#realJSOP3-Mar-21 7:01 
GeneralRe: Kicking the Can Down the Road Pin
NightPen3-Mar-21 14:17
NightPen3-Mar-21 14:17 
GeneralRe: Kicking the Can Down the Road Pin
pkfox5-Mar-21 2:00
professionalpkfox5-Mar-21 2:00 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP5-Mar-21 2:44
professional#realJSOP5-Mar-21 2:44 
GeneralRe: Kicking the Can Down the Road Pin
NightPen5-Mar-21 7:57
NightPen5-Mar-21 7:57 
GeneralRe: Kicking the Can Down the Road Pin
pkfox5-Mar-21 10:15
professionalpkfox5-Mar-21 10:15 
GeneralRe: Kicking the Can Down the Road Pin
Rick York2-Mar-21 6:14
mveRick York2-Mar-21 6:14 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 7:17
professional#realJSOP2-Mar-21 7:17 
GeneralRe: Kicking the Can Down the Road Pin
Rick York2-Mar-21 8:02
mveRick York2-Mar-21 8:02 
GeneralRe: Kicking the Can Down the Road Pin
pkfox5-Mar-21 10:16
professionalpkfox5-Mar-21 10:16 
GeneralRe: Kicking the Can Down the Road Pin
DerekT-P2-Mar-21 6:55
professionalDerekT-P2-Mar-21 6:55 
GeneralNever, Never say 'I know a bit about that' in a stand up Pin
glennPattonWork31-Mar-21 22:40
professionalglennPattonWork31-Mar-21 22:40 

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.