this post was submitted on 23 Aug 2023
74 points (95.1% liked)

Programming

17524 readers
618 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] CrunchyBoy@lemmy.world 0 points 1 year ago* (last edited 1 year ago) (2 children)

Fun fact: the standard qwerty layout was made to slow typewriter typing down by putting common keys off the home row and apart from each other. This was done to prevent the little key arm thingies from colliding and jamming when typing quickly.

EDIT: Apparently this is not a fact

[–] fubo@lemmy.world 8 points 1 year ago (1 children)

The point wasn't to slow down typists, but to reduce the number of bigrams (two-letter sequences) that would be typed with adjacent keys, since that's the specific movement that's most likely to cause the key levers to jam.

[–] preciouspupp@sopuli.xyz 1 points 1 year ago

Not true. The current layout is the result of years of evolution based on feedback by typists and vendors.