[...]
For really long expressions you could also split it on multiple lines:c = (b_expression == 0) ? (d_longer_expression) : (a_expression/b_expression);
+1 looks clean!
Martin Tschierschke via Digitalmars-d-learn Thu, 06 Aug 2020 01:41:04 -0700
[...]
For really long expressions you could also split it on multiple lines:c = (b_expression == 0) ? (d_longer_expression) : (a_expression/b_expression);
+1 looks clean!