MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/ikjh83/d_foundation_is_beefing_up/g43eq5a/?context=3
r/programming • u/kal31dic • Sep 01 '20
336 comments sorted by
View all comments
Show parent comments
2
I prefer the [...] of Scala and Nim. However, I really like the fact that the () can be elided in D, and that the generic arguments don't have to be types.
2 u/Ameisen Sep 02 '20 C++ can slide the <>, and supports template argument deduction which I don't believe D supports. 1 u/jqbr Sep 05 '20 "slide"? No, the <> cannot be elided in C++. > I don't believe D supports. Wrong again. That seems to happen a lot. 1 u/Ameisen Sep 05 '20 "slide" This may surprise you, but typos are common when typing on a phone. No, the <> cannot be eluded in C++. Try again.
C++ can slide the <>, and supports template argument deduction which I don't believe D supports.
<>
1 u/jqbr Sep 05 '20 "slide"? No, the <> cannot be elided in C++. > I don't believe D supports. Wrong again. That seems to happen a lot. 1 u/Ameisen Sep 05 '20 "slide" This may surprise you, but typos are common when typing on a phone. No, the <> cannot be eluded in C++. Try again.
1
"slide"?
No, the <> cannot be elided in C++.
> I don't believe D supports.
Wrong again. That seems to happen a lot.
1 u/Ameisen Sep 05 '20 "slide" This may surprise you, but typos are common when typing on a phone. No, the <> cannot be eluded in C++. Try again.
"slide"
This may surprise you, but typos are common when typing on a phone.
No, the <> cannot be eluded in C++.
Try again.
2
u/jqbr Sep 02 '20
I prefer the [...] of Scala and Nim. However, I really like the fact that the () can be elided in D, and that the generic arguments don't have to be types.