Re:Ask HN: What made you change your mind about a programmin...
by cauthon on Monday March 04, 2019 @01:13AM
(#19299176)
> AFAIK you're limited to one expression or function call, to get around the fact that you can't just inline a completely new function (with its associated control flow structure)
On the other hand, if your function needs a flow structure that's more complicated than a single line, should you really be inlining it?
And I think any such use case that you really want to inline can probably be accomplished with list comprehensions
On the other hand, if your function needs a flow structure that's more complicated than a single line, should you really be inlining it?
And I think any such use case that you really want to inline can probably be accomplished with list comprehensions