4 ms·
I don't think of 'func' as a standard. Off the top of my head, you can see "defun", "fn", "def", "function", and on and on in various languages. I don't see m
by richard_todd 10y ago
I don't think of 'func' as a standard. Off the top of my head, you can see "defun", "fn", "def", "function", and on and on in various languages. I don't see much agreement across the board.
- netcraft 10y agodoes anyone know of a place that compares syntax like this across languages? I've found myself often wondering if there is consensus for certain features or syntax.
- richard_todd 10y agoNot exactly, but on rosettacode.org (http://rosettacode.org/wiki/Rosetta_Code http://rosettacode.org/wiki/Rosetta_Code) you can see tons of languages implementing the same toy programs, so they will often be using comparable language features in the process.
- chocolateboy 10y agohttp://rigaux.org/language-study/syntax-across-languages.html#FnctnFnctDfnt http://rigaux.org/language-study/syntax-across-languages.htm...