15

C++, the language where template error messages can be longer than your entire code base

Comments
  • 7
    How dare you?!

    It is true, but...

    How dare you?!
  • 2
    Jokes aside, thats kinda what happens when core usecases of your language are not directly encoded into the language itself. Not saying that it's possible and/or wanted that they are (considering how many millions/billions/gazillions there are), but still

    It's like with Rust: Beautiful error messages when doing normal stuff the compiler devs thought you would be doing...

    And then you're using lifetimes, or async or lifetimes in async...

    bruh
  • 3
    WE HAVE CONSTRAINTS AND REQUIREMENTS NOW HALLELUJAH! I messed about with them this week and I got a 2 sentence error message that told me what I'd done wrong. It was so nice.
Add Comment