> 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,…
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 -…
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.
> 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,…
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 -…
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.