Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sumalamana
6mo ago
0 comments
Save
Share
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?
0 comments
2 comments · 2 top-level
top
newest
oldest
j16sdiz
6mo ago
It is more a debug/development feature. You can try out some idea without fixing the whole code base.
dnautics
6mo 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.
j
/
k
navigate · click thread line to collapse