all 40 comments

sorted by: hot top controversial new old
[–] 12 points 3 years ago* (1 child)

My favorite, since I'm not a programmer anymore, is excel

E: Your formula has a circular reference. I ain't doing shit till you fix it

Me: where?

E: In your spreadsheet, I don't fucking know

  • source
  • hideshow 2 child comments
  • [–] 6 points 3 years ago (2 children)

    Then there's Haskell that would remove (well, used to at some point) your source code file if you made any errors: https://gitlab.haskell.org/ghc/ghc/-/issues/163

  • source
  • hideshow 4 child comments
  • [–] 3 points 3 years ago (1 child)
  • [–] 1 point 3 years ago

    Vigil deleted a function. Won't that cause the functions that call it to fail?

    It would seem that those functions appear to be corrupted as well. Run Vigil again and it will take care of that for you. Several invocations may be required to fully excise all bugs from your code.

    Yeah. this bit got me

  • source
  • parent
  • [–] 3 points 3 years ago (1 child)

    Sounds like Rust propaganda to me >:(

  • source
  • hideshow 2 child comments
  • [–] 3 points 3 years ago (2 children)

    Tbf, you have to be pretty far with Rust to get to a point where Rust's compiler errors stop helping you (at least, as far as I've seen). After that, it's pretty much the same

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 3 years ago

    Yep use a little bit more deeply cascaded generic rust code with a lot of fancy trait-bounds and error messages will explode and be similar as C++ (though to be fair they are still likely way more helpful than C++ template based error messages). Really hope that the compiler/error devs will improve in this area

  • source
  • parent
  • [+] -1 points 3 years ago* (last edited 3 years ago) (2 children)
  • [–] 0 points 3 years ago (1 child)

    Would know, I've never had a runtime error in Rust /s

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    Can't have a runtime error if you don't have a compiled binary *taps forehead*

    (For the record, I say this as someone who enjoys Rust)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    This is actually unironically a major benefit of Rust - compile time errors are supposed to be for dev mistakes and runtime errors supposed to be for user mistakes. Way easier to debug something at compile time instead of runtime.

  • source
  • parent
  • [–] 2 points 3 years ago (1 child)

    Rust is nice, unless you have a traits compilation error from a 3rd party library using types that are more difficult to write than C++ templates.

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 years ago (1 child)

    yeah as nice as it is what you can achieve with trait-bounds there are definitely trade-offs, being compile time and error messages, and sometimes mental complexity, understanding what the trait-bounds exactly mean... I really hope, that this area gets improvement on at least the error-messages and compile time (incremental cached type-checking via something like salsa)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    I much prefer getting told of that it doesn't match a trait than get 600 characters of which the majority is implementation detail of global allocators und from what exactly the string is derived.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago

    Depends on what trait bound error messages you have had yet, I had 1000 lines long already, where it's not obvious at all what is meant (and is often a very simple fix). But I'm sure this will get better over time, there's already a bigger ongoing redesign of the type system solver, so maybe it will be integrated into stable rust soon.

  • source
  • parent
  • [–] 1 point 3 years ago* (2 children)

    Haskell errors:

    Iä! Iä! Cthulhu (b -> (a -> c)) -> (b -> (c -> c)) -> a fhtagn! Ph'nglui mglw'nfah [[a]] Cthulhu R'lyeh wgah'nagl fhtagn!

    [45 lines of scopes]

    Once you understand the type system really well and know which 90% of the error information to discard it's not so bad, I guess.

  • source
  • hideshow 4 child comments
  • [–] 1 point 3 years ago

    LISP be like: "There is an error here in this wierd code I just generated and which you never saw before. Wanna hotfix it and try again?"

  • source
  • [–] 1 point 3 years ago (2 children)

    Way too short to be a real C++ error. Needs a few more pages of template gibberish.

  • source
  • hideshow 4 child comments
  • [–] 1 point 3 years ago (1 child)

    One of the reasons i started learning rust was bc of how easy it is to get into it, or at least that's how it felt for me. It wasn't until a few months into consistently writing that I started to encounter things that I didn't understand.

  • source
  • hideshow 2 child comments
  • [–] 1 point 3 years ago* (1 child)

    MySQL: you have an error near here.

    Me: What's the error?

    MySQL: It's near here.

    Me: You're not going to tell me what the error is? Okay, near where? Here?

    MySQL: warmer... warmer...

  • source
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    Oracle: You have this error in line 1

    User: Hey, no, there isn't anything to cause this error in line 1

    Oracle: I'm telling you, it's in line 1

    User: Hum... How many lines are in my 10 lines query?

    Oracle: 1

  • source
  • parent
  • [–] 0 points 3 years ago (3 children)

    C just shrugs and says "Seg Fault."

  • source
  • hideshow 6 child comments
  • [–] 0 points 3 years ago (2 children)

    Yeah, but which one i cooler?

  • source
  • hideshow 4 child comments