The solution to "Error handling"...

Kapendev alexandroskapretsos at gmail.com
Sun Jul 5 22:08:38 UTC 2026


On Sunday, 5 July 2026 at 21:57:55 UTC, Meta wrote:
> Also, who unironically thinks errno is a good way to handle 
> errors in 2023? Some of these C programmers need to accept that 
> programming techniques have advanced since the 70s.


Errno itself is bad because it's too generic. If you make your 
own version of it and limit its scope to a specific system it can 
work OK. I'm not saying it's better than returning an error value 
:)

> fake null pointers

I never used the fake null pointer trick, so no idea.


More information about the Digitalmars-d mailing list