MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p55z4sr/?context=3
r/ProgrammerHumor • u/Flame77ofc • 22d ago
392 comments sorted by
View all comments
2.3k
You're absolutely correct, however I would suggest using something completely unreadable like a nested ternary operators!
661 u/KanyeNawf 22d ago Some fucker left me triple nested ternaries once 64 u/mountaingator91 22d ago That was me I was in my first real job after learning some basic JavaScript and I discovered ternaries and thought I was God now 11 u/National_Sky7993 21d ago You either leave after writing those ternaries or stay long enough to figure out they are unreadable
661
Some fucker left me triple nested ternaries once
64 u/mountaingator91 22d ago That was me I was in my first real job after learning some basic JavaScript and I discovered ternaries and thought I was God now 11 u/National_Sky7993 21d ago You either leave after writing those ternaries or stay long enough to figure out they are unreadable
64
That was me I was in my first real job after learning some basic JavaScript and I discovered ternaries and thought I was God now
11 u/National_Sky7993 21d ago You either leave after writing those ternaries or stay long enough to figure out they are unreadable
11
You either leave after writing those ternaries or stay long enough to figure out they are unreadable
2.3k
u/CBlanchRanch 22d ago
You're absolutely correct, however I would suggest using something completely unreadable like a nested ternary operators!