On Sat, Nov 18, 2023 at 1:43 AM waffl3x <waff...@protonmail.com> wrote:
>
> The patch is coming along, I just have a quick question regarding
> style. I make use of IILE's (immediately invoked lambda expression) a
> whole lot in my own code. I know that their use is controversial in
> general so I would prefer to ask instead of just submitting the patch
> using them a bunch suddenly. I wouldn't have bothered either but this
> part is really miserable without them.

We don't use them much currently, but I'm not opposed to them either,
if they help make the code clearer.

> If that would be okay, I would suggest an additional exception to
> bracing style for lambdas.
> This:
> [](){
>   // stuff
> };
> Instead of this:
> []()
>   {
>     // stuff
>   };

Makes sense.

Jason

Reply via email to