Refactoring 025 - Decompose Regular Expressions
Make Regular Expressions Testable and Understandable
Mar 30, 20254 min read45

Search for a command to run...
Articles tagged with #javascript
Make Regular Expressions Testable and Understandable

When you ignore your inheritance, you will have trouble with your parents TL;DR: Subclasses should honor ALL their parent鈥檚 contract. Problems 馃様 Wrong abstraction Subclassification for code reuse Misleading hierarchy Unused or overridden methods ...

Are you using the returned value?

The Ternary Metaprogramming Trap

Don鈥檛 Overcomplicate: Keep It Simple

Don't abuse this fancy operator
