For most of my coding career I've been a solo coder, meaning I have all the freedom in the world to make the decisions I want on practices for my own websites, etc. In all that time, I have never thought, "Gosh, I wish I was using ternary operators right now!" I like the expanded logic, it was always much easier for me to look over my code in a quick glance.
Thatโs fair, it was never really a conscious decision for me either...I just read about it one day and thought it had this visual elegance...and it just sort of happened๐๐๐๐
Thank you for reading!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For most of my coding career I've been a solo coder, meaning I have all the freedom in the world to make the decisions I want on practices for my own websites, etc. In all that time, I have never thought, "Gosh, I wish I was using ternary operators right now!" I like the expanded logic, it was always much easier for me to look over my code in a quick glance.
Thatโs fair, it was never really a conscious decision for me either...I just read about it one day and thought it had this visual elegance...and it just sort of happened๐๐๐๐
Thank you for reading!!