Key phrase: time-to-time
Don't mind ternary operators for simple cases but once someone starts putting multiple function calls in each part of the operator, it makes it difficult to debug.
Very much this. If you have more than one ternary operation in a statement, you need to not use any.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.