Re:A Programming Language Underdog
by singularity2001 on Saturday September 22, 2018 @10:21AM
(#18046066)
const hand*
^^ is that a pointer? Are we moving backwards?
[ Parent
| on HN ]
No, it isn't. `*` after a name means that the variable/function/type/etc. is public and can be seen/used when you import a module.
So the whole expression just means "a public constant string (automatically inferred type) named `hand`".
Re:A Programming Language Underdog
by singularity2001 on Saturday September 22, 2018 @02:16PM
(#18047185)
oh, that was a surprise. thanks