
31 Jan
2017
31 Jan
'17
2:34 a.m.
Branimir Maksimovic wrote:
Actually in team, one who writes `_` match, is very useful as that prevents breaking code when adding new value...
I write Haskell code in a team of 15 engineers and wild card pattern matches are considered a bad idea exactly *because* we want compiler errors when a sum type is extended with a new constructor. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/