Chrisjan Wust
1 min readFeb 12, 2020

--

list_with_end_condition = [1, 2, 3, 4, 0, 9]
for c in list_with_end_condition:
if c == 0:
break
print(c)

One line more, but each collegue spends less time deciphering my code. Each line does one thing — it reads like pseudo code.

Number of lines should never be prioritized above code simplicity.

--

--

Chrisjan Wust
Chrisjan Wust

Written by Chrisjan Wust

Tech-optimist looking for a place where recent advancements change an industry. One day I’d like to create such a place myself. For now, I’m an ML Engineer.

No responses yet