A curmudgeon tries a language server
A curmudgeon attempts to experiment with a language server in his coding workflow. The reporter typically follows a traditional method of writing code, switching to a terminal, and running commands to compile and execute the code. He is envious of how Lisp programmers interact directly with their live, running system, but he hasn't tried to emulate that approach yet.
He discovers that by using the combination of ghcid and foreign-store in his Haskell projects, he can automatically recompile and restart his entire program without losing important state. This process resembles the incremental sending of definitions to the Lisp repl, but with a more conventional implementation. The reporter tries the setup with a toy project, writing code, writing tests, and relying on ghcid to reload the code, run tests, and restart the application when necessary.
The workflow provides a glimpse of the Lisp development experience while still considering his original coding style.
Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.