You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
Hi, i realy like the c3 approach of being a better c.
But 'fn' in front of function declarations IS A superfluous and an arbitrary deviation from C.
However 'fn' for defining function types and lambdas ARE GREAT.
// === GREAT FN ===
def Foo = fn int();
Foo lambda = fn int() { return 1; };
Foo lambda_short = fn () => 1;
// == NOT OK, TERRIBLE FN ==
fn void my_function(int a) { return a * a; }
Please remove the terrible one from c3! :-D
The text was updated successfully, but these errors were encountered: