Comment

Comment by MaxBarraclough

Hi Walter. I have two and a half questions:

* Regarding the syntax of 'lazy'. It seems to me that it would make for better readability if the lazy keyword were required at the callsite, along the lines of doStuff(lazy getValueUsingExpensiveComputation()); rather than the current syntax where it's not clear at the callsite which, if any, of the arguments are lazy. C# does something similar with ref. What's the thinking behind D's syntax?

* What's the state, and future, of precise garbage collection in D?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton