|
|
|
|
|
by AshleysBrain
4012 days ago
|
|
Who on earth would really write that? Surely you'd use the optional braces to make it clearer: a => { return b <= 7; }
Sure you can write it without that, but only if you want to write willfully unclear code to annoy people, like writing an entire function body on one line. Just because you can do that doesn't mean that functions are inherently unclear. |
|
All of the examples that look confusing are artificially simple and doing things you wouldn't normally try to do.