Tells you exactly what and at which line the problem is?
Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars>const basic_string<epic_mystery,mongoose_traits<char>, __default_alloc_<casual_Fridays = maybe>>
Does your compiler not do that? Maybe you should breakup with it and get rustc compiler.
rustc is truly awesome
Well until you are deep into trait/future/generic territory. Because then you’ll go in big fuck (full type being in a separate file) not being correct somewhere in this shit.
Don’t get me wrong, I love rust. But those area really need some love
Still much better than C++ templates, and I say that as someone who used to genuinely love C++ template metaprogramming. Admittedly Rust traits+generics are far more limited than C++ templates, but very often I find that to be a positive. The list of things that I feel traits+generics are missing is small and rapidly shrinking.
I was going to respond with “Segmentation fault”. Truly a classic.
(Yes, that’s not a compile error, but well, it should be.)
Well, it is theoretically possible for code to cause a compiler to segfault. As for how, well that’s a different matter. You’ll need deep knowledge of the compiler, or else the assuredness that it can’t possibly happen. Because then it will.
Java has entered the chat…
The “++” in C++ stands for extra verbose.
Oh God the horrors. The only part of these errors I ever remembered was “basic_string” everything else was the syntactic gibberish you wonderfully demonstrated.
Boomer humor
Wife bad.
needs a few seconds to run
Depends on what you’re compiling!
It’s always true for sufficiently large values of “a few”
Segmentation fault (core dumped)
Well technically that’s not part of the compiler
A good enough compiler would prevent them from happening 🦀
what if your code was so shity that it caused the compiler to segfault?
Meta programming is capable of that. People have written entire text-driven games that run in the compiler.
You fuck your complier?
You don’t?
Sure, if we didn’t have the need to procreate or the need for a life companion, the computer would be the perfect partner.
But since we are not machines quite yet…
the need for a life companion
Don’t worry, computers got that covered too now !aicompanions@lemmy.world