special case
verb1
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences Ambitransitive To treat something as a special case; to handle in an explicitly different way.
- Special-casing the 100 most common words in English might speed things up.1988, Jon Louis Bentley, More Programming Pearls: Confessions of a Coder, page 10:
- If these programs work as well as they can even without going through QuickDraw, what's the penalty for going around the system and special casing?1992, Scott Knaster, Keith Rollin, Macintosh Programming Secrets, page 46:
1 more example
- Other languages have since special-cased that kind of computation with, for example, generators in Python or something where you can yield values.2009, Peter Seibel, Coders at Work: Reflections on the Craft of Programming, page 258: