News for hackers. Stuff that matters.
Re:Why I Don't Like Golang (2016) by apta on Wednesday June 12, 2019 @10:21PM (#20171330)
It becomes very annoying and tedious to refactor when you need to change visibility. Suddenly, a single line change (e.g. changing private to public) needs an IDE to refactor it and make sure it gets all instances (which is quite ironic given that golang proponents generally shun IDEs). Now depending on how many instances changed, you would need to split up your diff for readability, or clutter your diff with needless changes.
Re:Why I Don't Like Golang (2016) by zemo on Wednesday June 12, 2019 @11:35PM (#20171604)
> a single line change (e.g. changing private to public) needs an IDE to refactor it

the language comes with a rewriting tool that rewrites arbitrary expressions.

gofmt -w -r 'thing -> Thing' *.go

Re:Why I Don't Like Golang (2016) by apta on Wednesday June 12, 2019 @11:45PM (#20171640)
Still more and unnecessary effort compared to changing one word.