STOP DOING C++
- Templates were not supposed to make your error messages explode into unrecognizable gibberish
- “Yes, please generate 5000 pages of garbage instead of an understandable error message!” - statements dreamed up by the utterly deranged
Look at what compilers have been demanding your respect for all this time:
???
They have played us for absolute fools.
If you can’t understand that error message then I don’t know what to tell you.
Where in that wall of text was it?
I don’t know. That’s what I was saying. I can’t possibly imagine what I could say to help someone understand that error message.
😉
The wall of text was the error message.
I just prefer using the parsed outputs from IDEs which also take you to the line of code on click.
This would have been better with Rust and C++
I had a linker error in Rust for the first time today and I started crying til I saw someone say to just delete the build cache lol
With Rust it’s usually just a fluke that can be fixed by doing that, but C++ linker errors may indicate the start of several frustrating hours. That’s been my experience at least.
cries into the chest of the borrow checker
Okay, but genuinely in what cases the borrow checker caused issues for you? Cause I use Rust for a few years now and have not yet encountered the infamous fight with the borrow checker.
Also, there’s a “new” and “better” borrow checker coming in 2024 edition.
'tis but a joke. I’m still learning Rust, and really appreciate the borrow checker.
Program exited with code -1
fatal error: Too many errors emitted, stopping now
Java when you don’t put in a try catch, vs Template<typename T> in Cpp