3 ms·
To my eye 'public function main' is a lot better than 'pub fn main'. It is also lot more clearer when you have to read out code phrases out loud.
by billfruit 4y ago
To my eye 'public function main' is a lot better than 'pub fn main'. It is also lot more clearer when you have to read out code phrases out loud.
- 3a2d29 4y agoIs there any language other than javascript that has the key word as the full "function"? Again its personal preference, but I'm curious if there is a language you use often that makes you like that specifically? Java is a bit like that, but has the C++ data types as its function key word basically. I'm trying to think if I am forgetting one.
- int_19h 4y agoSome examples would be Ada, Lua, Pascal (and derivatives like Delphi), XQuery.