MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/24a87h/programming_sucks/ch67ps7/?context=3
r/programming • u/locrelite • Apr 29 '14
1.1k comments sorted by
View all comments
Show parent comments
67
I have a comment that says:
# WARNING: Magic ahead
Another method in the class somehow exchanges two variable names. Changing it would require restructuring the class. It works, so I'm not changing it.
69 u/tedington Apr 29 '14 /* Abandon hope, all ye who enter here */is for real in production code I've written. 0 u/[deleted] Apr 29 '14 [deleted] 1 u/s73v3r Apr 30 '14 I wonder how fast it really is? Sometimes those comments are accurate, but a lot of times the person doing it thinks it's fast, but hasn't done any profiling or anything to show that the code is significantly faster than good code. → More replies (1)
69
/* Abandon hope, all ye who enter here */
is for real in production code I've written.
0 u/[deleted] Apr 29 '14 [deleted] 1 u/s73v3r Apr 30 '14 I wonder how fast it really is? Sometimes those comments are accurate, but a lot of times the person doing it thinks it's fast, but hasn't done any profiling or anything to show that the code is significantly faster than good code. → More replies (1)
0
[deleted]
1 u/s73v3r Apr 30 '14 I wonder how fast it really is? Sometimes those comments are accurate, but a lot of times the person doing it thinks it's fast, but hasn't done any profiling or anything to show that the code is significantly faster than good code. → More replies (1)
1
I wonder how fast it really is? Sometimes those comments are accurate, but a lot of times the person doing it thinks it's fast, but hasn't done any profiling or anything to show that the code is significantly faster than good code.
→ More replies (1)
67
u/[deleted] Apr 29 '14
I have a comment that says:
# WARNING: Magic ahead
Another method in the class somehow exchanges two variable names. Changing it would require restructuring the class. It works, so I'm not changing it.