luuuzeta
Joined 4 years ago
Joined 4 years ago
>Made with in
How did all the haze treats you yesterday?
Wow this is also awesome! Some programmers are truly creative people haha
Interesting! By "half life of 10 minutes", do you mean the language was changing too quickly under you or that it was difficult to remember the sigils?
* a non-alphabetic character
* that is at the start of a word
* that communicates meta-information about the word.
He gives the example of `echo $USER`, where `$` is a single that communicates that `USER` is a variable, presumably with some contents. Thus, I'd wager `$` is a sigil in `$foo`.
Sigilled "variables" do lose many of the perks that sigils provide though, as codesections explains in the blog.
While I understand where you're coming from, I'd argue that programming-related concepts are all "gobbledygook to non-programmers", that's to be expected. Having something like (this is close to valid Raku but it's not)
Positional[Any] ages = [42, 38, 25];
doesn't make it any easier than my @ages = [42, 38, 25];
unless you already have prior knowledge of arrays, assignments, types, etc.
[0]: https://github.com/benweet/stackedit
[1]: https://github.com/benweet/stackedit.js