7

I think this is a decently interesting consideration in programming language design. When you have things flowing from left to right, not only do you get better autocomplete as per the article, but it's probably also easier to read, and very likely easier to edit (your cursor can simply go in its natural direction instead of having to jump around).

Though this comment on Lobsters points out that left-to-right code under one way of thinking is not necessarily left-to-right code if you approach it with a different way of thinking.

you are viewing a single comment's thread
view the rest of the comments
[-] soc@programming.dev 2 points 3 months ago

This is one of the rules I religiously follow in the design of my language.

It's one of the reasons

  • why I removed unary operators like ! and ~ and made -foo.bar parse as (-foo).bar;
  • why the order of elements in a type or function definition is the way it is; and
  • why I use an OOP-style value.member design instead of piping syntax like |>.
this post was submitted on 20 Aug 2025
7 points (81.8% liked)

Programming Languages

1453 readers
2 users here now

Hello!

This is the current Lemmy equivalent of https://www.reddit.com/r/ProgrammingLanguages/.

The content and rules are the same here as they are over there. Taken directly from the /r/ProgrammingLanguages overview:

This community is dedicated to the theory, design and implementation of programming languages.

Be nice to each other. Flame wars and rants are not welcomed. Please also put some effort into your post.

This isn't the right place to ask questions such as "What language should I use for X", "what language should I learn", and "what's your favorite language". Such questions should be posted in /c/learn_programming or /c/programming.

This is the right place for posts like the following:

See /r/ProgrammingLanguages for specific examples

Related online communities

founded 2 years ago
MODERATORS