Re:The Linux codebase has over 3k TODO comments, many from o...
by sombremesa on Sunday December 29, 2019 @10:25PM
(#21910578)
Pray tell, what line would you NOT put that tag on? That's like, all code...
[ Parent
| on HN ]
Re:The Linux codebase has over 3k TODO comments, many from o...
by kadoban on Sunday December 29, 2019 @10:35PM
(#21910617)
TODO is for when you know something specific that can be improved and want to document it, not just generally that nothing is perfect.
Re:The Linux codebase has over 3k TODO comments, many from o...
by saagarjha on Sunday December 29, 2019 @11:11PM
(#21910748)
I occasionally get to write code that is as good as I think it can be. That doesn’t mean it’s perfect, but I don’t know how to improve it.
Re:The Linux codebase has over 3k TODO comments, many from o...
by cgag on Monday December 30, 2019 @02:16AM
(#21911437)
Something I've seen Jonathan Blow do that I like is tag things // @Speed when doing a quick to type but slow to run kind of first pass.
It seems nice to have tags for places to jump where the improvements are obvious, rather than hoping to just remember/spot them later.
Re:The Linux codebase has over 3k TODO comments, many from o...
by hawkice on Sunday December 29, 2019 @10:35PM
(#21910616)
I think we all occasionally write code we like, but I also write code I don't like, but only the most vague idea on how to improve.
Re:The Linux codebase has over 3k TODO comments, many from o...
by BurningFrog on Sunday December 29, 2019 @10:44PM
(#21910655)
I don't want to brag about my skills, so I won't answer that.
Re:The Linux codebase has over 3k TODO comments, many from o...
by davidlinc1 on Sunday December 29, 2019 @11:23PM
(#21910793)
I similarly don't want to brag about my skills in pointing out areas of improvement in code that others might think is optimal, so I won't answer that.