News for hackers. Stuff that matters.
Re:Go channels are bad by pmarreck on Wednesday March 02, 2016 @06:24PM (#11213900)
Restricting input based on type hierarchies can reduce a certain class of bugs, yes, but careful use of guards as well as typespecs and unit test coverage (which you should have, anyway) can accomplish much of what type restrictions can
Re:Go channels are bad by pmarreck on Wednesday March 02, 2016 @10:24PM (#11214838)
Was something I said factually wrong? User im_down_w_otp put up an example of what I'm talking about (minus the unit testing) so what gives?
Re:Go channels are bad by sagichmal on Thursday March 03, 2016 @08:43AM (#11216739)
I suspect dismissing static typing whole cloth with "unit tests and certain guards can give you most of the benefits" comes off badly to some people.
Re:Go channels are bad by pmarreck on Friday March 04, 2016 @12:19PM (#11225202)
I don't see how "can accomplish much of what type restrictions can" is the equivalent of "dismissing static typing whole cloth"

I choose wording carefully for a reason