Hacker News new | ask | show | jobs
by alkonaut 2309 days ago
An full build is always the easiest build.

Building as little as possible and having quick iteration is the hard bit when you have statically typed languages and large projects. If I edit a file and change the name of the function, the call sites should all light up with red squiggles. In a statically compiled language. Without requiring a recompile.

1 comments

> If I edit a file and change the name of the function, the call sites should all light up with red squiggles. In a statically compiled language. Without requiring a recompile.

which is what all IDE support ? most even allow you to automatically fix it nowadays

Well it requires quite a bit from the compiler/language server infrastructure to not just behave like a batch compiler and give up after e.g. a failed parse. The ability to analyze incomplete or incorrectly parsing syntax is very tricky compared to doing it in sequence parse -> analyze etc.

Many IDE's manage this but far from all languages (compilers) do, simply because their compilers are simple batch compilers.