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
6 views
84
25
7 days ago 00:14:37 1
🔴 As US Cozies Up To Russia’s Economy, Putin’s Call With China Just Changed Everything
1 week ago 00:25:49 1
Look at This Plastic Bottle Garden – You’ll Regret Not Knowing Sooner!
2 weeks ago 00:32:29 1
ОНИ посылают нам сообщения гравитацией?
2 weeks ago 00:03:09 5
A Day To Remember - Make It Make Sense (Official Audio)
3 weeks ago 00:36:52 3
Как дейтинги развязали войну полов I ОТДЕЛ МОДЫ
1 month ago 00:04:28 1
MEG MYERS - MY MIRROR (Official Music Video)
1 month ago 00:36:09 1
Why Fun Projects Are the Key to Saving This Building
1 month ago 00:29:19 11
Загадка Зеркальной Вселенной: Хиральность на Земле и в Космосе