perlang-org / perlang

The Perlang Programming Language
https://perlang.org
MIT License
16 stars 1 forks source link

(compiler) Remove `using namespace` in generated C++ code #458

Closed perlun closed 4 months ago

perlun commented 4 months ago

This has turned out to be a bad idea. Including this makes it slightly harder to copy fragments of the generated C++ code into e.g. a test program, which is something I do from time to time (when e.g. debugging generated C++ code that doesn't work or doesn't compile).