3 ms·
Various thoughts: It seems to me that the fundamental definition of a function/method should be a compile time executed function that generates a syntax tree a
by jaxrtech 3y ago
Various thoughts:
It seems to me that the fundamental definition of a function/method should be a compile time executed function that generates a syntax tree always (assuming the compiler dog-foods itself or can parse and interpret it). Much like Python has metaclasses or Rust's procedural macros but it's just assumed by default.
It's kind of unfortunate that a language with managed effects & capabilities hasn't gone mainstream. Maybe it doesn't have the right ergonomics yet.