3 ms·
Although even in this example it does say some things that are simply wrong: "Some programming languages like TypeScript and Swift use a colon for both variabl
by ldhough 4y ago
Although even in this example it does say some things that are simply wrong:
"Some programming languages like TypeScript and Swift use a colon for both variable type annotations and function return types."
This is incorrect for Swift, which uses the same arrows as "TenetLang" for function return types. Actually the first thing I thought looking at the example code was "looks swifty but not quite as well designed."