Click here to Skip to main content
15,891,951 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
#realJSOP2-Mar-21 6:15
mve#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
mve#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 
GeneralRe: Kicking the Can Down the Road Pin
#realJSOP2-Mar-21 5:10
mve#realJSOP2-Mar-21 5:10 
0) The reason for the (excessive?) comments is to answer any ecosystem-specific questions that might come up from the other devs on the team. Right now, this is just proposed code in the form of a proof-of-concept console app that encompasses the code in question, and I figured that explaining the what/why of the code in an external document was pointlessly convoluted, and a general pain in the ass. However, I did provide a word doc that explains what's happening, and were/how to integrate the code into our existing web apps.

1) As a general rule, we don't have time to generate meticulous documentation about a given code implementation, much less maintain it when something in the code changes. A programmer is much more apt to update comments than they are to seek out the correct document to update when the code changes.

2) Regardless of how "understandable" code that I wrote is to me, it could turn out to be gibberish to someone else, so comments are important. There is no such thing as code that isn't made better with comments. Why? Because I'm the 26th programmer to work on the code base over the last 13 years. We waste a lot of time trying to figure out what/why the hell is happening because there are virtually no comments in the code. Not even intellisense comments for method and property prototypes. This code base involves hundreds of thousands of lines of c#, javascript, css, and sql. NONE of it had comments before I started.

3) I will never accept or dish out ridicule for commenting code, regardless of how trivial the comment might appear. In fact, over the 40+ years I'be been a programmer, I've only been ridiculed for NOT providing enough code comments, and that only happened one time.

The plain and simple fact is that I'm not the first guy to work on this code, and I can guaran-damn-tee you I won't be the last. I don't want to be the subject of name-calling and gnashing of teeth because I didn't to the job the best I could, which includes making it easier for the next guy in the food chain.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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
mve#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
mve#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
mve#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
mve#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 
GeneralRe: Never, Never say 'I know a bit about that' in a stand up Pin
Johnny J.2-Mar-21 0:53
professionalJohnny J.2-Mar-21 0:53 

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.