The title would probably be confusing, but I could not make it better than this. I noticed that most programming languages are limited to the alphanumerical set along with the special characters present in a general keyboard. I wondered if this posed a barrier for developers on what characters they were limited to program in, or if it was intentional from the start that these keys would be the most optimal characters for a program to be coded in by a human and was later adopted as a standard for every user. Basically, are the modern keyboards built around programming languages or are programming languages built around these keyboards?

  • Die4Ever@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    1 year ago

    I won’t consider any keyboard to be designed for programming unless it has dedicated keys for characters like {}() < >_+| & !*:" without needing to hold shift for them (Lemmy seems to be improperly escaping my less-than sign and ampersand)

    • driving_crooner@lemmy.eco.br
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      There’s “programming” layouts, like dvorak-programming that replace the number rows for special characters and you need to shift to get the numbers.

    • cwagner@lemmy.cwagner.me
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      I’m fine with just using a US keyboard (technically the EurKEY layout, but that doesn’t matter for programming), I’ll never understand the people who for example use the German layout, so many more modifiers needed than just shift: