top | item 43260418

(no title)

flavio81 | 1 year ago

>The concept of compile-time programming having the same appearance as runtime programming is very cool in my opinion.

You mean, something that Lisp does since the early 1980s?

discuss

order

seanw444|1 year ago

I didn't say it was novel. It's just not something you see in modern languages.

akho|1 year ago

Should that make it uncool?

bsder|1 year ago

> You mean, something that Lisp does since the early 1980s?

Um, no. Debugging a macro in Lisp is a terrible experience while debugging a comptime function in Zig is brain dead simple.

Zig is the first "macro" system I've used that doesn't want to make me blow my brains out when I need to debug it.

perching_aix|1 year ago

Yes, I think that's what they mean.