It always gives me an uneasy feeling when I try to run code I just wrote and it works the first time.
Yes it compiles. It just throws segfaults.
Yup, directly to production will be.
“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.
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.
W0
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.
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?