Comment by perrygeo
1 year ago
As someone who started programming on Solaris UNIX, then Linux workstations, in the late 90s, there just wasn't an option. You used vi or emacs or you didn't work.
I'm not saying it was the good old days but it was not a significant barrier to doing what we wanted to do. Code is code and ultimately you need to have a clear mental picture of the codebase, regardless of your tools. LSP isn't valuable because it allows novel functionality (there are dozens of different techniques for discovery within a codebase). LSP is valuable because you have an efficient way to "query" your codebase for contextual information directly in the editor window.
But you can build that knowledge through other means, you just need another terminal window and external tools.
The understanding of the codebase is what maters. LSP is a means to that end, making an already common task slightly more efficient.
> look up the definition/implementation of some function
Text is effective. git grep "def foo"
Autocomplete engines work on text too, based on the contexts of the buffer or files in the directory.
Static analyzers have always worked wonders in identifying LSP-like warnings.
Compilers and debuggers give you access to state and type information.
This stuff has been around for decades. LSP just makes it more convenient and packages it into one UI.
For what it's worth, I'm 100% in on LSPs for my work these days. But if LSPs disappeared tomorrow, I could revert to the old ways with only a small hit to productivity.
No comments yet
Contribute on Hacker News ↗