Y
Hacker News
new
|
ask
|
show
|
jobs
by
sumalamana
188 days ago
Why would the compiler do that, instead of just printing the error at compile-time and exiting with a non-zero value? What is the benefit?
2 comments
j16sdiz
188 days ago
It is more a debug/development feature. You can try out some idea without fixing the whole code base.
link
dnautics
188 days ago
if you have a syntax error in file A, and file B is just peachy keen, you can keep compiling file B instead of stopping the world. Then the next time you compile, you have already cached the result of file B compilation.
link