News for hackers. Stuff that matters.

xyb

Wrote up the why, and the split into two layers (your knowledge base vs. what you are doing right now): https://xieyanbo.me/blog/2026-07-26-a-todo-tool-the-ai-write...
Re:Prologue: A web framework written in Nim on Friday October 23, 2020 @01:42AM (#24866341)
> My only gripe (and its relatively small) is I don't like its compiler directive syntax using the `{.directive.}` style, its a little ugly and noisy to me, I'd prefer something like rust's `#[]` (I think this is actually how you use a Rust macro, but its a nice syntax regardless)

Me too. I think the `{.directive.}` style comes from pascal[1], but put it at the end of the procedure definition line. Lines that are too long are not easy to read. It would be better if each directive syntax had its own line.

[1] https://www.freepascal.org/docs-html/current/prog/progse5.ht...