News for hackers. Stuff that matters.
Re:Why I Don't Like Golang (2016) by holy_city on Wednesday June 12, 2019 @08:08PM (#20170664)
To be fair that's generally good practice since it eliminates a branch in the code, depending on the type of v and overhead of assignment.
Re:Why I Don't Like Golang (2016) by DuskStar on Wednesday June 12, 2019 @08:45PM (#20170865)
Sounds like the sort of thing your compiler should choose for you.