News for hackers. Stuff that matters.

L-4

Re:Defer Available in GCC and Clang on Friday February 20, 2026 @03:00AM (#47085079)
> Implicitness of destructors isn't a problem

It's absolutely a problem. Classically, you spend most of your time reading and debugging code, not writing it. When there's an issue pertaining to RAII, it is hidden away, potentially requiring looking at many subclasses etc.

Re:Defer Available in GCC and Clang on Friday February 20, 2026 @02:57AM (#47085033)
Both defer and RAII have proven to be useful, but RAII has also proven to be quite harmful in cases, in the limit introducing a lot of hidden control flow.

I think that defer is actually limited in ways that are good - I don't see it introducing surprising control flow in the same way.

Re:You Sent the Message. But Did You Write It? on Sunday May 04, 2025 @12:48AM (#43884560)
In this case the author mixes em dashes with hyphens surrounded by space. Both fine on their own, but it seems unlikely that someone with the attention to detail to use em dashes is going to be inconsistent here.