Tag Archives: web

03. Enforcer Pattern: Composable Guard Clauses // JavaScript Codecasts

03. Enforcer Pattern: Composable Guard Clauses // JavaScript Codecasts

How can you cut down small if-else statements that recur across several functions? Let’s cover another pattern for nuking if-else statements on today’s episode of TL;DR, the JavaScript codecast series that teaches working web developers to craft exceptional software in 5 minutes a week. Over the past few episodes, we’ve been covering design patterns to …