Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
p0nce
12 months ago
|
parent
|
context
|
favorite
| on:
Features of D That I Love
Strangely my favourite feature after 18 years of D programming (!) is that could place keywords largely in the order you like. It is strangely liberating to be able to put:
pure nothrow @nogc:
or
pure: nothrow: @nogc:
or
pure nothrow @nogc { block }
Sometimes this helps readability.
quietbritishjim
12 months ago
[–]
Am I missing something? Those three keywords are literally in the same order in all the examples.
p0nce
12 months ago
|
parent
[–]
Sorry, those keywords work in block like those, or relatively to a single function, in any order.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: