"If it compiles it probably works" is definitely more common in some languages. What PL features make this more likely? My current theory is that pattern matching on enums with exhaustiveness checking is the primary cause. Especially when null has been replaced with Option.