If I am not the only one who will work with the code, right side is waayyyy better.
2024-10-12 12:42:54
644
Bam :
CPU treats them equally.
2024-10-13 22:16:23
0
ymaril :
if (condition) return A:
return B;
2024-10-12 16:01:48
1548
Aku :
What is the purpose of the else if you are doing a return ?
2024-11-06 23:09:07
1
Товукс🎀 :
АЙ МИШАНЯ🔥🔥💪 ЧИСТО В КОНДИЦИИ ВОШЕЛ🦁🦁🦁☝АЙ ЛЕВ ГЛАВНОЕ ВОШЁЛ ТИХО И АККУРАТНЕНЬКО 🔥🔥🔥☝☝КРАСАВЧИК ДВИГАЕШЬСЯ РОВНЫМИ ДВИЖЕНИЯМИ АЙ ХОРОШ😈😈💪💪💪☝🔥🦁🦁 САНЕЧКА ВОТЕТА СУЕТА
ай красавчик
2024-10-12 13:01:10
111
Alex :
if(condition) { return A;} return B; 👍
2024-10-12 20:22:56
18
Strohhalm_Katze :
Ternary operators are peak
2024-10-14 16:52:32
33
Redbeef92 :
if (condition) return a;
if (!condition) return b;
2024-10-14 23:07:40
0
hadeshenor 😎 :
ternary operator ‘?’
2024-10-12 13:13:35
42
executeorder66 :
one on the right introduces branches and multiple return points 🤦🏻♀️.
2024-10-19 22:34:26
2
both :
IAM A BIG FAN OF TERNARY, is it true yall didnt choose ternary?😅
2024-10-17 09:01:11
11
Baptiste M :
I forbid ternary operator in my team. It make the code unreadable
2024-10-30 09:50:02
55
Leo :
i ask chatgpt, why should i learn how to code manually, not needet anymore i think
2024-10-15 10:46:56
0
性交する :
I understand the first one... but I'd still use the second one
2024-10-24 16:55:47
91
Hamma Azarok :
I prefer " return true ? true : false "
2024-10-12 13:30:42
166
gursneh bald :
Is this coding?
2024-11-11 15:18:47
0
ً :
right one is for better reasonability imho
2024-10-12 12:08:58
1
Safwen_Hali :
i use both
2024-11-17 02:35:34
0
MAULO :
que lenguaje es?
2024-10-16 20:42:57
16
Wishyrater :
2nd is more readable
2024-10-13 10:36:21
327
TAISHO :
ternary operator are limited to 1-2 conditions unlike nested/ else if
2024-10-28 08:11:52
0
BlinDeex :
ternary is superior to if else as it saves vertical space and helps grasp method faster, WHERE APPLICABLE, if you expect more logic in the future or doesnt fit in one line dont use it
2024-10-13 02:09:27
60
yamat39 :
es java no?
2024-10-27 14:38:32
0
To see more videos from user @codewisdom, please go to the Tikwm
homepage.