Post

CodeRed
CodeRed@CodeRed_dev·
Do you comment your code?
English
42
0
71
5.8K
zment
zment@zment4·
@CodeRed_dev usually I follow a "code comments itself", but sometimes I do something really weird and/or complex and then I comment. Also, TODOs
English
0
0
5
51
The Mad Tinkerer
The Mad Tinkerer@MadTinkerer·
@CodeRed_dev I got tired of Future Me getting angry at Past Me for never explaining what anything does. Now Past Me documents everything and they've reconciled.
English
0
0
5
169
Ronel Peguero
Ronel Peguero@RonelPeguero·
@CodeRed_dev Never understood how people debug without commenting on their work. Must be absolute hell. 💀 Very hard practice to consistently implement but once it becomes a habit you will thank yourself. (x100)
English
2
0
2
178
Token Gamedev
Token Gamedev@TokenGamedev·
@CodeRed_dev I learnt in a critical project that comment inside code will help to fix any bug 10x faster
English
0
0
2
25
Faultbox
Faultbox@Faultbox·
@CodeRed_dev Have fun returning to an old project with zero commented code
English
0
0
1
32
green (the first)
green (the first)@madebyGreen·
@CodeRed_dev please for the sake of yourself, comment your code and name everything descriptively, especially in places that it's not really obviously what is happening
English
0
0
1
18
(semi) inactive
(semi) inactive@crowpunt·
@CodeRed_dev It's about 50/50. Sometimes i comment everything and organize things neatly, and sometimes my code is so disorderly that I deserve to be given death by lethal injection, electric chair, or both.
English
0
0
1
6
Kashatorian
Kashatorian@SuperKash999·
@CodeRed_dev /*TODO This is a function that is used to blow things up */
English
0
0
1
103
WildMMO
WildMMO@WildMMO·
@CodeRed_dev How... what kind of... bro, do you even code without comments?
English
0
0
0
18
Aurian/Saist
Aurian/Saist@Zerias·
@CodeRed_dev One of the ... worst... aspects... of having dealt in #LISP programming is that absolutely everything has to be commented because no one else who has to look at the code later is going to have any idea what was trying to be accomplished.
English
1
0
0
64
Cozy Brews & Garden Tales
Cozy Brews & Garden Tales@CozyBrewsDev·
@CodeRed_dev I take a medication that for a while made me very sleepy in the mornings and made it harder for me to keep up a good rhythm. There were times when I didn't even understand my own code from the day before so I started commenting everything and, from there on, I got into the habit
English
0
0
0
10
Daniel Likes A Ruckus
Daniel Likes A Ruckus@danielRuckus·
@CodeRed_dev Sometimes, more commonly if I expect to work with another developer. I try to split my code into enough functions that between well defined variable names and function names, I don't really need comments
English
0
0
0
20
Crube Yawne
Crube Yawne@CrubeYawne·
@CodeRed_dev Where I work if we need comments to explain the code that usually means the code could most likely be written better. Also a NASA rule (I don't work at NASA)
English
0
0
0
18
Panda Plus Studios
Panda Plus Studios@PandaPlusStudio·
@CodeRed_dev Only when I get ChatGPT to help 😂 - when I’m so confused with my code I get chat got to rewrite in a cleaner way and comment it so I can understand 😅😂😂❤️❤️😄🙃
English
0
0
0
19
meowku VT
meowku VT@TheMeowku·
@CodeRed_dev Only when it's like .. // Trust me bro ... it works or // I have no f**ing clue why it works or // Race condition ... DO NOT DELETE
English
0
0
0
18
Dani Grave
Dani Grave@DanielGrave6·
@CodeRed_dev Rarely, comments are usually bad, I use them only when strictly necessary or to leave "TODOs"
English
0
0
0
27
Doggo Debugger
Doggo Debugger@DoggoDebugger·
@CodeRed_dev Nope. I use Go so stuff is pretty self explanatory with a verbose typing system
English
0
0
0
2
Ahegao Miyazaki
Ahegao Miyazaki@deanhsjones·
@CodeRed_dev Noone who had ever seen my code would ask this question. Interpret that how you will
English
0
0
0
31
Daisy Robin Caladia 🥧🩷🐀
Daisy Robin Caladia 🥧🩷🐀@DaisyCaladia·
@CodeRed_dev i usually comment with reminders for myself. like "this is public so [ScriptName].cs can use it" and "disables collision for one frame to solve the broken thing" (with about that level of specificity)
English
0
0
0
18
🌸Alex the Italian fox🌸 🔆
🌸Alex the Italian fox🌸 🔆@anItalianFox·
@CodeRed_dev I feel like i dont comment my code nearly enough as its expected but i never had readability issues when revising it so i must be doing something right i guess
English
0
0
0
9
Galaxmii
Galaxmii@Galaxmii·
@CodeRed_dev Just to remind myself. I have very bad memory. Anyway, I forgot, what we talking about?
English
0
0
0
16
Marcelo
Marcelo@marcelovbcfilho·
@CodeRed_dev I prefer to make the code readable instead of commenting it, but of course, sometimes with a strange rule I comment.
English
0
0
0
18
Pogal 🐡🌳
Pogal 🐡🌳@pogal_pog·
@CodeRed_dev I try to just make code that would be easily readable to my future self, but sometimes I will comment if it's important.
English
0
0
0
12
Heathen
Heathen@HeathenEngineer·
@CodeRed_dev Pro Tip //Start with the comments InitalizeComments(); //Then write the code Code.DoWrite(); //Then you don't need to go back and comment after your forgot what your where doing while(UncommentedCode) { Why(); What(); WhoWouldDoThat(); OThatsWhy(); }
English
0
0
0
10
Mika Pi 🌸
Mika Pi 🌸@xX_Mika_Pi_Xx·
@CodeRed_dev Chat GPT commenting my code, and I diligently deleting comments.
English
0
0
0
16
CreativeSteve69
CreativeSteve69@TheStory3ller·
@CodeRed_dev I sometimes do depending on the task of me games and it's requirements are. :)
English
0
0
0
14
Paylaş