J
Jari Williamsson
Is it possible to have an if-statement that both do something and
returns from a method - in one single line? I often have code where an
action has to be performed conditionally and then exit/return/break, and
an if/end-block seems like such a waste.
Best regards,
Jari Williamsson
returns from a method - in one single line? I often have code where an
action has to be performed conditionally and then exit/return/break, and
an if/end-block seems like such a waste.
Best regards,
Jari Williamsson