3 votes

Sigils are an underappreciated programming technology

5 comments

  1. FlippantGod
    Link
    Just wait till the author learns about Color Forth. Also, a certain accessibility problem arises? with some of the symbols? What are they read as by screen readers? If you need to tell someone to...

    Just wait till the author learns about Color Forth.

    Also, a certain accessibility problem arises? with some of the symbols? What are they read as by screen readers? If you need to tell someone to put that symbol in, will people in the conversation all know which one you are talking about? How do you easily insert characters when coding, or does this mandate IDEs?

    2 votes
  2. [4]
    codesections
    Link
    😀 I've read about it but never used it (or any concatenative programming language, for that matter, though I keep meaning to). I agree that this deserves consideration. For Algol-family languages,...

    Just wait till the author learns about Color Forth.

    😀 I've read about it but never used it (or any concatenative programming language, for that matter, though I keep meaning to).

    Also, a certain accessibility problem arises? with some of the symbols? What are they read as by screen readers?

    I agree that this deserves consideration. For Algol-family languages, with their abundance of brackets, semicolons, and other special characters, I don't believe that the addition of $, @, % and & sigils is likely to make an overwhelming difference – especially since Raku can be a bit less symbol heavy in other respects. But I don't face that accessibility challenge; I'd welcome correction from someone more knowledgeable. Of course, a programming language that pervasively use very few special characters would be in a different situation.

    How do you easily insert characters when coding, or does this mandate IDEs?

    That's obviously not an issue for $, @, %, and &. But Raku does have Unicode operators; the way we handle that is to have ASCII fallbacks that you can enter, though they may not be as readable (e.g. (elem) instead of

    Also, this is a bit of a tangent from sigils, but on the general topic of accessibility, there are different accessibility problems with programming languages that only allow ASCII identifiers. A number of Raku users greatly appreciate being able to name variables in their native language.

    2 votes
    1. [3]
      cfabbro
      Link Parent
      I think you meant to reply to @FlippantGod, but you accidentally made another top-level comment so they wouldn't have received a notification for it. They will now that I have @ mentioned them in...

      I think you meant to reply to @FlippantGod, but you accidentally made another top-level comment so they wouldn't have received a notification for it. They will now that I have @ mentioned them in this comment though.

      1. [2]
        codesections
        Link Parent
        Oops, you're entirely correct; thanks.

        Oops, you're entirely correct; thanks.

        1 vote
        1. FlippantGod
          Link Parent
          Strange, I definitely did get a notification, and saw your comment- and iirc it looked like a reply? Edit: no notification in my notifications history though, so I guess I'm delusional.

          Strange, I definitely did get a notification, and saw your comment- and iirc it looked like a reply?

          Edit: no notification in my notifications history though, so I guess I'm delusional.