Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by usrnm

13 hours ago

They are not supposed to produce code that doesn't compile, why would they?

3 comments

usrnm

Reply

debugnik  12 hours ago

Debugger positions on the other hand are a pain with these things.

  • amelius  10 hours ago

    Uh yes, that's what I meant ;)

    In C/C++ you have the #line preprocessor directive. It would be nice if Go had something similar.

    • debugnik  6 hours ago

      Go has apparently got //line directives, and this project uses them.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities