I go fully along with the premise that writing better codes starts with deleting old one. it is redicilous that teams try many many times to fight the issues that comes from the complexities in their codes by ever adding more complexities to it. it doesnt make sense, but basically all insist on doin so.
However: the goal must not be to write code easier — but simpler. and this is not achieved by formatting code, but by reducing complexities in the code. By using only on-directional flows. using only immutable datatypes, avoiding classes where a mother thing might be just simpler… in short: avoiding accidental complexities.
My last article might be interesting for that:
btw: I have 15+y of experience as coder. I love the ternary operator and I would question the sanity of whoever formats code like your example.
again: the goal is not to create code easier and faster — but simple, as a structure.
must see: https://www.infoq.com/presentations/Simple-Made-Easy/