MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/d7yvpy/you_might_not_need_a_framework/f16968c/?context=3
r/javascript • u/volimsir • Sep 23 '19
129 comments sorted by
View all comments
148
"You can still make your life harder, believe in yourself! It is never too late to strangle your workflow"
48 u/evilgwyn Sep 23 '19 You might not need if statements. 11 u/AceBacker Sep 23 '19 How could you tell if you don't need them? 12 u/DatFancyChicken Sep 23 '19 use an if stat- ah. 4 u/PM_ME_GAY_STUF Sep 23 '19 Need if statement = (if statements necessary) ? true : false 5 u/[deleted] Sep 23 '19 This guy ifs 4 u/[deleted] Sep 23 '19 An if is just a less capable switch! 0 u/volimsir Sep 23 '19 Switches are for witches! 1 u/Peechez Sep 23 '19 Nested ternaries as far as the eye can see
48
You might not need if statements.
11 u/AceBacker Sep 23 '19 How could you tell if you don't need them? 12 u/DatFancyChicken Sep 23 '19 use an if stat- ah. 4 u/PM_ME_GAY_STUF Sep 23 '19 Need if statement = (if statements necessary) ? true : false 5 u/[deleted] Sep 23 '19 This guy ifs 4 u/[deleted] Sep 23 '19 An if is just a less capable switch! 0 u/volimsir Sep 23 '19 Switches are for witches! 1 u/Peechez Sep 23 '19 Nested ternaries as far as the eye can see
11
How could you tell if you don't need them?
12 u/DatFancyChicken Sep 23 '19 use an if stat- ah. 4 u/PM_ME_GAY_STUF Sep 23 '19 Need if statement = (if statements necessary) ? true : false 5 u/[deleted] Sep 23 '19 This guy ifs
12
use an if stat- ah.
4
Need if statement = (if statements necessary) ? true : false
5 u/[deleted] Sep 23 '19 This guy ifs
5
This guy ifs
An if is just a less capable switch!
if
switch
0 u/volimsir Sep 23 '19 Switches are for witches!
0
Switches are for witches!
1
Nested ternaries as far as the eye can see
148
u/[deleted] Sep 23 '19
"You can still make your life harder, believe in yourself! It is never too late to strangle your workflow"