ParentFull threadbeberlei·one benefit of match over switch is that it uses === and not == internally. So it does not suffer from type coercion problems.View on HN