News for hackers. Stuff that matters.
Re:Adding Modules to C in 10 Lines of Code [pdf] by Shadonototra on Wednesday June 29, 2022 @12:20PM (#31922274)
i would have preferred:

    templ<thing>(a, b)

because with that:

    templ!thing(a, b)
is it a function?, or are you calling thing's function?

you can do:

    templ!(thing)(a, b)
but did you mean?:

    templ!(thing(a, b))()

i personally always use !(), no matter what, and it's annoying to type, i don't want to waste time constantly trying to figure out what is what, it's mentally draining

There are no comments on this comment yet.