“Fuck, now I gotta document this without sounding like a crazy person.”
/** * foobar(a, b) * foos up a with b. * Note: this should never work. Fooing is impossible, and the fact that this function achieves it serves only to prove God has a wicked sense of humor. */
And then some of your noob intern tried to compile it without reading the documentation & it’s worked flawlessly
Where’s your god now…??Laughing, I guess.
That’s the final invisible panel. Code that definitely won’t compile, does compile, and tests all pass.
WHAT THE F-
Oh! I forgot to hit ctrl-s…
I’m in this comment and I don’t like it
Oh I guess I’ll just save this then and try ag- SEGFAULT
Thaaaat’s more like it.
It always gives me an uneasy feeling when I try to run code I just wrote and it works the first time.
It must be cosmic rays, a bit flipped while compiling. No way I got it right the first time.
Happened a few times to me. Always make sure that you have saved every file correctly and that you compile the correct project. And that there are no cached files or somewhat somewhere.
Yes it compiles. It just throws segfaults.
Yup, directly to production will be.
Sometimes you just need to throw shit at the fan just to see what happens.
Jesus Christ, I just tried to understand the first panel for a minute as I kept reading it wrong somehow.
“Code. You think will compile, companies”
ghc -fdefer-type-errors
:WTF! How does that even work?
What does the compiler do when there are 5 implementations for the same name, and none fit the type system?
Raises a runtime error. (Also, overloads don’t exist.)
deleted by creator
As a compiler developer this speaks to me on a deep level lol
Coder you know can’t program, programs.
You should be able to debug/profile/trace your way to understanding, otherwise that impostor feeling isn’t a syndrome.