tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: valgrind



On Sun 20 Mar 2022 at 23:17:57 -0400, Mouse wrote:
> clang is - or at least was last I checked - under the impression that
> nested functions are little-used and thus are not worth supporting.

I guess they can think so because nested functions are a gcc extension.
Quite a useful one, I think, having been taught programming with Algol
68 which of course does have nested functions; but an extension
nevertheless.

I found an interesting article about why they're bad...
https://thephd.dev/lambdas-nested-functions-block-expressions-oh-my

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index