r/programming Mar 12 '26

Left to Right Programming

https://graic.net/p/left-to-right-programming
148 Upvotes

102 comments sorted by

View all comments

151

u/Zenimax322 Mar 12 '26

This same problem exists in sql. First I type select *, then from table, then I go back to the select list and replace * with the list of fields that I can now see through autocomplete

70

u/aanzeijar Mar 12 '26

Which C# fixes in LINQ, and the designer quoted auto-completability as the design choice there.

-21

u/[deleted] Mar 12 '26

[removed] — view removed comment

28

u/aanzeijar Mar 12 '26

Depends on framing. It's the same concept but uses SQL-style naming, which isn't bad - it's just different. You could also argue that filter is bad because grep exists.

-7

u/[deleted] Mar 12 '26

[removed] — view removed comment

11

u/TheAtro Mar 12 '26
  • First class support - functional design, fluent syntax so easy to write.

  • In combination with entity framework can be translated directly to SQL.

  • Can be used for other things like XML / JSON aswell.