> On Feb 7, 2019, at 12:53 PM, Tim Horton <[email protected]> wrote:
>
>
>
>> On Feb 7, 2019, at 12:47 PM, Daniel Bates <[email protected]> wrote:
>>
>> Hi all,
>>
>> Something bothers me about code like:
>>
>> void f();
>> void g()
>> {
>> if (...)
>> return f();
>> return f();
>> }
>
> ⸘do people do this‽
I've definitely done this in JSC. I don't think it's super common, but I've
also seen code in JSC not written by me that also does this.
- Saam
>
>> I prefer:
>>
>> void g()
>> {
>> if (...) {
>> f();
>> return
>> }
>> f();
>> }
>>
>> Does it bother you? For the former? For the latter? Update our style guide?
>
> +1 to a style guide update
>
>> Opinions, please.
>>
>> Dan
>> _______________________________________________
>> webkit-dev mailing list
>> [email protected]
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> https://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev