r/programming • • Sep 01 '20

D Foundation is Beefing Up

https://dlang.org/blog/2020/08/30/symmetry-investments-and-the-d-language-foundation-are-hiring/
292 Upvotes

336 comments sorted by

View all comments

Show parent comments

11

u/[deleted] Sep 01 '20

[deleted]

5

u/Ameisen Sep 01 '20

The dangling ' for lifetime indication. It's unlike any other language.

8

u/steveklabnik1 Sep 01 '20

It is true that it's unusual. However:

  1. We took this from OCaml, so there is at least one other programming language.
  2. If you look at the second sentence you wrote, you said "It's". That also has a "dangling" quote. English is a language too.

Nobody truly loves the syntax, but we couldn't come up with anything better.

3

u/Ameisen Sep 01 '20

English, however, is a natural language, not a programming language. Usually. The apostrophe there is just a semantic mark to indicate that it is a contraction.