> On 27. Jul 2020, at 5.16, Keegan Witt <keeganw...@gmail.com> wrote:
> 
> but Kotlin is the only place I've seen a trailing if like that, so maybe 
> that's biasing my opinion


Not familiar with Kotlin, but Perl has "<statement> <condition>".  For example:

```
doSomething() if true
```

But that is quite different from what is proposed here.  In Perl, the condition 
is evaluated first, and if it is false, the statement is not eval'd at all.  
So, it's just short for:

```
if (true)
  doSomething()
```

-mikko

Reply via email to