Re:Clear is better than clever [pdf]
by rishav_sharan on Tuesday May 07, 2019 @07:20AM
(#19848378)
> It's not about the line count, it's about expressing the main idea clearly and succinctly, which this code does.
Thats very subjective. As a beginner dev, the ternary series is almost un-understandable for me. While the if/else blocks are far easier to glance at and digest.
Thats very subjective. As a beginner dev, the ternary series is almost un-understandable for me. While the if/else blocks are far easier to glance at and digest.