Re: Haskell is our first choice for building production soft...
by emteycz on Monday January 11, 2021 @07:45AM
(#25728165)
That's not entirely true. It gives suggestions in the cases where the C++ compiler does too. There are more than a few very cryptic errors you can encounter with Rust. I like it though, just needs more work.
[ Parent
| on HN ]
Re: Haskell is our first choice for building production soft...
by 3836293648 on Monday January 11, 2021 @08:37AM
(#25728670)
Depends on the compiler. In my very limited experience I've found that Clang is far superior to GCC in this matter (but rustc is better still, apart from iterator errors)
Re: Haskell is our first choice for building production soft...
by srean on Monday January 11, 2021 @09:54AM
(#25729586)
I am curious about which GCC, G++ version you have in mind. Clang definitely took the lead, but by GCC caught up and I prefer GCC's do Clang. But even I am behind the bleeding edge quite a bit so not sure how things stand now.
Re: Haskell is our first choice for building production soft...
by leshow on Monday January 11, 2021 @11:59AM
(#25731758)
It's been a while since I used C++ but I have never seen suggestions of the same quality that the rust compiler produces. Do you have a link that shows the error messages you're talking about?
For sure though, not every error has a great message and some can be cryptic. But those cases are relatively rare these days IMO