MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y5vntt/technicallycorrect/19t7jqow89idg/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 2d ago
49 comments sorted by
View all comments
Show parent comment
-16
With i++ 😂 I've never seen trollish coding before but if it exists this is it.
5 u/2eanimation 2d ago i = 0x = ++ix == 1 -> truevsi = 0x = i++x == 0 -> true 0 u/[deleted] 1d ago [deleted] — view deleted comment 1 u/2eanimation 1d ago I don’t know what your point here is, but what is x? x++ == 0 -> true only holds if x was 0. You haven’t defined x tho.
5
i = 0x = ++ix == 1 -> true
vs
i = 0x = i++x == 0 -> true
0 u/[deleted] 1d ago [deleted] — view deleted comment 1 u/2eanimation 1d ago I don’t know what your point here is, but what is x? x++ == 0 -> true only holds if x was 0. You haven’t defined x tho.
0
[deleted] — view deleted comment
1 u/2eanimation 1d ago I don’t know what your point here is, but what is x? x++ == 0 -> true only holds if x was 0. You haven’t defined x tho.
1
I don’t know what your point here is, but what is x? x++ == 0 -> true only holds if x was 0. You haven’t defined x tho.
View all comments
Show parent comment
-16
u/DJDevon3 2d ago
With i++ 😂 I've never seen trollish coding before but if it exists this is it.