I get paid per line of code so this is perfect. following for more tips :D
2025-03-07 18:36:10
10545
unruly60 :
or just
" if(number % 2 != 0) return true
else return false
2025-03-08 05:31:37
388
user180720576662 :
So it’s time to tutor me iseven function😂
2025-05-13 15:12:29
0
Eoin Dudley :
That's so inefficient, use a switch statement
2025-03-08 00:08:48
887
легушьк | phroge :
yanderedev has a rival now?????
2025-03-08 08:28:58
1294
سەهند 🕸️🧑🏻💻 :
Why not just use openai api and each time someone adds a number chatgpt will solve and send ?
2025-03-08 02:44:20
186
DungeonGrid :
Don't forget to write a unit test for every case.
2025-03-07 19:13:07
821
Teo☆ :
if (number/2 == round(number/2)
2025-03-07 19:04:37
4
Lollo🏐 :
Or just write if(number %2==0) return false if(number%2!=0) return true
2025-03-08 10:46:23
2
Jewish Man :
just do if (x mod 2 != 0) return false
2025-03-07 21:55:17
2
Afro Hamurai :
What about 0?
2025-03-10 17:21:08
0
TheOckyWay :
X%2==0 for evens X%2 !=0 for odds.
2025-03-07 23:18:36
2
Jack McKeever :
Just use a an if x %2 == 0 statement
2025-03-09 21:15:32
3
BigDinkEZ :
You can skip 27, the 40s or any number that is 5 digits. Noone uses those numbers.
2025-03-07 23:20:19
396
Cursor.HU :
when is this coming to vscode
2025-03-07 18:31:50
284
ItsNickBabe :
My isOdd function just randomly picks True or False but its never been wrong so ig its fine but it worries me
2025-03-07 23:54:41
529
Ph4nt0mG1rl :
I learned that 40 and 42 are odd now 😅
2025-03-07 18:54:39
80
Karuma :
modulo Operator is crying rn
2025-03-07 20:53:39
387
Димитър Илиев :
no no, it's much better you if you put the data it in a database and query it. this way you can update it after deploying to production 👌
2025-03-07 19:05:17
129
Andr :
яндередев такой типа
2025-03-08 21:22:29
115
😭💀🔥 :
return num % 2 == 0;
2025-03-08 11:31:11
7
Blesting :
omg I used to work for java (the guys who made script) and expanding their isodd function. this would have helped so much!
2025-03-07 18:55:03
59
srepo :
return num % 2 ? true : false
2025-03-08 21:38:29
7
Chevnoski :
I don't know why people are getting so mad, I work for Microsoft and this is exactly how we did it for Internet Explorer, that's how we were able to make the program so fast and responsive.😁
2025-03-08 00:45:06
110
Azusa :
But why if and not switch case 😂
2025-03-07 18:46:08
2
To see more videos from user @mewtru, please go to the Tikwm
homepage.