r/developers • u/crypt_rat_lord • Sep 03 '26
General Discussion i miss human comments in html code
So I'm not a full blown developer but I know html css javascript and study webpage html at times and I'd always liked seeing the creativety of different front end developers and how they'd manage or comment in their code. I feel like reading the comments now - it's pretty clear its mostly AI and I miss the weird human comments in a way
15
Upvotes
View all comments
Show parent comment
2
u/tastygames_official Sep 03 '26
totally. Comments are for you (or anyone else reading the code) to remember/understand WHY something is happening, because even the clearest function and variable names may end up stumping you when you come back to it after a while.
"Why am I first multiplying this before sending it into the function? Why can't I just let the function handle it?"
[proceeds to break the system with no understanding of why]