Join Nostr
2025-11-25 15:24:56 UTC

Andrew Zonenberg on Nostr: Anybody else wish C and C++ had named function arguments like SystemVerilog module ...

Anybody else wish C and C++ had named function arguments like SystemVerilog module ports, and allowed you to default-value an optional argument in any position?

foo.bar(
.baz(1),
.foobar("hai"),
//foobaz is unspecified and gets a default value
.asdf(42)
);