2 ms·
I came from Ruby and Elixir. It is always implicit returns. When I started writing TypeScript, having to have explicit returns was my number 1 bug. People can
by hosh 2y ago
I came from Ruby and Elixir. It is always implicit returns. When I started writing TypeScript, having to have explicit returns was my number 1 bug.
People can adapt either way. You can write more concise code with implicit returns and "everything is an expression".