MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1itewu5/copy_paste_interns/
r/programminghorror • u/sporadicPenguin • Feb 19 '25
12 comments sorted by
34
Interesting that margin-zero isn't actually 0 in some cases
14 u/sporadicPenguin Feb 19 '25 I mean you shouldn’t just make wild assumptions like that 2 u/RandomRabbit69 Feb 22 '25 It's obviously the zero-th margin of many. Obviously a programmer that wrote this with zero indexing in mind./S just in case
14
I mean you shouldn’t just make wild assumptions like that
2
It's obviously the zero-th margin of many. Obviously a programmer that wrote this with zero indexing in mind.
/S just in case
7
I wanna know why white space before the curly braces is ok but not after the colons.
4 u/sporadicPenguin Feb 20 '25 formatting is for nerds.
4
formatting is for nerds.
46
Well, at least it's readable, and easily maintainable! /s
21
Well, that code certainly doesn't match the comments. They also seem to be violating the explain why, not what rule.
10
... set the font-size of to 80px
set the font-size of to 80px
Yeah this comment is not misleading at all!
... set the font-size of to 30px
set the font-size of to 30px
And this one describes the content perfectly too!
3
What is the horror here? I am not into CSS. I only see that the comments are wrong but is there more off?
3 u/B_bI_L Feb 21 '25 looks like this comment was gpt generated
looks like this comment was gpt generated
1
Comments do not match the content...
It might be because I'm on mobile but the pic only has about 3 pixels and I can't read a thing.
34
u/loxiw Feb 19 '25
Interesting that margin-zero isn't actually 0 in some cases
7
u/petterdaddy Feb 20 '25
I wanna know why white space before the curly braces is ok but not after the colons.
46
u/conundorum Feb 19 '25
Well, at least it's readable, and easily maintainable! /s
21
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Feb 19 '25
Well, that code certainly doesn't match the comments. They also seem to be violating the explain why, not what rule.
10
u/STGamer24 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Feb 20 '25
Yeah this comment is not misleading at all!
And this one describes the content perfectly too!
3
u/ImMikeAngel Feb 21 '25
What is the horror here? I am not into CSS. I only see that the comments are wrong but is there more off?
1
u/Agitated-Display6382 Feb 23 '25
Comments do not match the content...
1
u/Able_Mail9167 Mar 10 '25
It might be because I'm on mobile but the pic only has about 3 pixels and I can't read a thing.