Runtime Guards is an actively used design pattern.

?Years Old
  • Runtime Guards ranks in the top 50% of entities I track
  • the Runtime Guards wikipedia page
  • I have 9 facts about Runtime Guards. what would you like to know? email me and let me know how I can help.

Languages with Runtime Guards include haskell

Example from haskell:

f x
 | x > 0 = 1
 | otherwise = 0

Last updated September 6th, 2019