Great! Thanks, for this great and short explain! 🙂
@HumbertoBytes Жыл бұрын
This is great advice - I have absolutely no idea why all the tutorials use and abuse if statements instead of using a ternary operator
@yassinplays1369 Жыл бұрын
That is the best short video I have seen in my life , Thank You So Much!
@yagokurt9 Жыл бұрын
That's an amazing tip and makes the code way more clean and readable.
@RIP-GG3 ай бұрын
I’m blessed to have stumbled upon this channel
@LazyTeaStudios9 ай бұрын
This is so useful! Thank you so much! Guess its time to binge a new channel xD
@davidtourangeau9 ай бұрын
TY!
@juliaalder2007 Жыл бұрын
We can check multiple things, but we can only do one thing per ternary statement if it's true and one other thing in the else-part, right?
@spaderdabomb Жыл бұрын
Yep that’s right. Very useful for replacing simple if-else statements. You can chain ternary operators together, but I’m not a fan of doing that, I like to only use them for simpler logic.