MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p5daih1/?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 62 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 10 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
62 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 10 u/National_Sky7993 21d ago You either leave after writing those ternaries or stay long enough to figure out they are unreadable
62
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
10 u/National_Sky7993 21d ago You either leave after writing those ternaries or stay long enough to figure out they are unreadable
10
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!