Re:Deadcode: Finding unreachable functions in Go
by dewey on Tuesday January 23, 2024 @02:45PM
(#39108676)
In reality you just comment out the block, in day-to-day work it really is a non-issue in my experience.
[ Parent
| on HN ]
Re:Deadcode: Finding unreachable functions in Go
by lynndotpy on Saturday January 27, 2024 @09:39AM
(#39155907)
I get what you're saying, but I don't share your experiences.
My reality is that I don't comment and uncomment lines, and I don't want to start. Commenting out a block of code takes more time and it's still unused code.
It really feels like a "Go is designed around problems Google had within Google" design choice.