←back to thread

271 points mithcs | 1 comments | | HN request time: 0.196s | source
1. loeg ◴[] No.45958985[source]
Just use C++. Every single one of these is a horror-show worse reinvention of a C++ feature.

Like, if I was stuck in a C codebase today, [[cleanup]] is great -- I've used this in the past in a C-only shop. But vectors, unique_ptrs, and (awful) shared_ptrs? Just use C++.