Why I Don’t Use Else When Programming (Дата оригинальной публикации: )

Nick Chapsas’s Video: This may sound crazy but I really don’t use the else keyword in my programming anymore. When I do end up using else it usually leads to worse code than if I purposely avoided it. In this video I explain exactly why that is. 📚 Materials/References: Optional Chaining Video: Optional Chaining Article: Guard Clause Article: 🌎 Find Me Here: My Blog: My Courses: Patreon: Twitter: Discord: GitHub: CodePen: ⏱️ Timestamps: 00:00 - Introduction 01:00 - Guard Clauses 04:03 - Single Return Is Bad 05:43 - Extract Functions #StopUsingElse #WDS #JavaScript
Back to Top