Comment

Comment by WalterBright

From the article:

    fn print(comptime T: type, value: T) void {
That's a template. In D it looks like:

    void print(T)(T value) {
which is also a template.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton