Join Slack
Powered by
<@U3QQLJNG3> In <https://github.com/edvin/tornadof...
# tornadofx
e
edvin
10/04/2017, 10:17 PM
@tieskedh
In
https://github.com/edvin/tornadofx/pull/474/
, you're using
?: run { someCode() }
in several places. It seems wasteful to create a function instance and executing it instead of just writing inline code. Is it really worth it to avoid the traditional approach of
if/else
?
2
Views
Open in Slack
Previous
Next