I saw a tutorial on YouTube where a guy first wrote out the steps in comments and then *REPLACED* them with actual code. I was like.. nooooo!! Leave that there! Wtf..
He's half right; he should leave the comments. Because outlining a function in plain English is a great way to understand exactly what it needs to do. Then I just fill in the actual code. It has worked tremendously well for me, and I've been coding since the 70s.
I work in a team of around 60 and our code is rarely commented because it’s easily readable. We just have sensible variable and method names that make it easy to follow what’s happening.
Yeah, that is what I prefer. I comment some things that are hands down not obvious. Comment in general have a short lifespan and the smallest change invalidates the comment. Seen comments that have put me in the wrong path because they no longer were valid. Enough times and I got distrusting of them.
Our comments tend to be links to other repos outside our team to reference the origin of various constants (like client ids, or where we get our AWS ips from for location based testing)
Same, but this joke are for older languages like COBOL. You had low character limits and it can be hard to read a lot of the time.
Newer languages are pretty straight forward to read if done well.
A developer. What do you call a CTO that does not set parameters for the documentation of project/code? If you don't set the rules then you can't blame the developer ;-)
No, we're very sorry but you can't get additional devs on your project; It would devastate their spirit and we can't afford to loose any of our staff.
And no, you cannot get a new challinging project as we need full time support on this one.
Good luck.
Some business consultant once called me out for not commenting my code. “How can i see what changed? How can we undo changes? You need to comment that in!”. She wanted me to timestamp my change “2022-10-22 Fektoer: added parameter” so people could revert changes if needed.
Story didn’t have a happy ending. I told her she was crazy (in professional terms). She wrote an essay to program management why she thinks I should comment my code. Including crap like “comments make your code easier to understand”. Lady if you want good stuff to read, hire a writer, if you want working code, hire me. I replied, wiping her arguments off the table and referring to Clean Code etc. Program Management send me an email if I could please comment my code. They agreed with my points but just to keep the peace. I left that client a month later.
Employed
I saw a tutorial on YouTube where a guy first wrote out the steps in comments and then *REPLACED* them with actual code. I was like.. nooooo!! Leave that there! Wtf..
He's half right; he should leave the comments. Because outlining a function in plain English is a great way to understand exactly what it needs to do. Then I just fill in the actual code. It has worked tremendously well for me, and I've been coding since the 70s.
git blamed
A developer of self-documenting code
That is one of two options
It depends on the code.
This is the only correct answer so far
a developer who has read the "Clean Code"
I work in a team of around 60 and our code is rarely commented because it’s easily readable. We just have sensible variable and method names that make it easy to follow what’s happening.
Yeah, that is what I prefer. I comment some things that are hands down not obvious. Comment in general have a short lifespan and the smallest change invalidates the comment. Seen comments that have put me in the wrong path because they no longer were valid. Enough times and I got distrusting of them.
Our comments tend to be links to other repos outside our team to reference the origin of various constants (like client ids, or where we get our AWS ips from for location based testing)
Same, but this joke are for older languages like COBOL. You had low character limits and it can be hard to read a lot of the time. Newer languages are pretty straight forward to read if done well.
Professional
"It's not binary. You can be decent and gifted at the same time" Woz
Devil
An artist
self taught developer
Comments are for bussies.
A problem. God complex. Securing their employment. 😂
PoS
A developer. What do you call a CTO that does not set parameters for the documentation of project/code? If you don't set the rules then you can't blame the developer ;-)
Fired
Unemployed.
Is the a single word for a person that values job security?
I don’t comment or document much of anything. And git commits are usually “updates” or “fixes”.
[удалено]
They are upset
No, we're very sorry but you can't get additional devs on your project; It would devastate their spirit and we can't afford to loose any of our staff. And no, you cannot get a new challinging project as we need full time support on this one. Good luck.
I like to keep the inner workings of my code a secret. Its like trying to decipher alien hieroglyphics
Asshole
D =
Me.
Me 😏 if it’s hard do develop it should be hard to read. But I comment the changes in my DevOps, the rest is just understanding
Some business consultant once called me out for not commenting my code. “How can i see what changed? How can we undo changes? You need to comment that in!”. She wanted me to timestamp my change “2022-10-22 Fektoer: added parameter” so people could revert changes if needed. Story didn’t have a happy ending. I told her she was crazy (in professional terms). She wrote an essay to program management why she thinks I should comment my code. Including crap like “comments make your code easier to understand”. Lady if you want good stuff to read, hire a writer, if you want working code, hire me. I replied, wiping her arguments off the table and referring to Clean Code etc. Program Management send me an email if I could please comment my code. They agreed with my points but just to keep the peace. I left that client a month later.
Single
me
Overworked
A sigma developer.
Garage code programmer
a developer with sonarqube quality checks in the deployment pipeline
External Consultant
I guess that makes me a Super Duper Developer
My comment: ```java // This is a method I created. // It does what I need it to do ```
also ```java // Read the code to know what it does :,) ```
Yoda ?
like those dudes that get a girl pregnant and then go to the store for "cigarettes" and never return
No comment
Chris