IntermediateVocabulary#software-architecture#developer-tools#backend

Pattern Matching Vocabulary

Learn the vocabulary of checking a value against several possible shapes and extracting data from whichever matches.

0 / 5 completed
1 / 5
At standup, a dev mentions writing a single construct that checks a value against several possible shapes or variants in order, extracting relevant data from whichever shape actually matches, instead of a chain of separate manual type checks and casts. What is this technique called?