this post was submitted on 17 Sep 2024
34 points (94.7% liked)

C++

1720 readers
19 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
34
submitted 2 days ago* (last edited 2 days ago) by cmeerw to c/cpp
you are viewing a single comment's thread
view the rest of the comments
[โ€“] FizzyOrange 6 points 2 days ago (1 children)

It's not just that. Debugging segfaults and UB can be an absolute nightmare.

The C++ committee still haven't learnt their lesson. I recently learnt about C++20 coroutines, which are pretty neat, if complex (there are pretty much no good learning resources about them). However they are still putting unnecessary UB footguns in it.

[โ€“] sukhmel 2 points 1 day ago

Reminds me of how I found some safety measures to be in China some years back, basically those were signs saying "plz don't fall to your death, if you do it's your fault"