re: 5 Programming Patterns I Like VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I think nesting ternaries makes things more difficult to change later without scratching your head. The linked article says it simplifies the conve...
 

There is a very unfortunate drawback of using a function for "if" or ternary... the conditions are always evaluated and that often means dereferencing null or undefined...

code of conduct - report abuse