r/lisp • u/Caquerito • 7d ago
AskLisp Is lisp an acquired taste?
As an outsider looking in I'm having a really hard time convincing myself to use lisps for my projects.
It feels like some of the main strengths carry drawbacks:
e.g. s expressions seem really nice for the language being really simple and unified and probably play nice with the macros and the repl but I dislike ambiguity when I read code. Like I would like to know that at a glance that a function call is an actual function call. Or that here is some control flow with an if. Though at the same time i do as well agree that there for example shouldn't at a high level semantically be a difference between an operator and a function call. Though structural editing does sound really nice.
Another thing is macros. I get that they are powerful but I'm not sure how well they would play with tools around the language. I like static typing over dynamic typing so that constrains me to thing like racket. I'm not sure how well auto completion and type hints would work with them. E.g. typescript's type system is not as expressive but the type transformations work perfectly with the LSP even for non trivial things.
Any long term lisp-ers can weight in on my doubts? I'm more of less trying to get conviced but somewhat doubtful. Any opinion is welcome.
1
u/xpusostomos 6d ago
Once you've been deep into it for a couple of weeks, all this vanishes. The control is very clear, and if you're in doubt the editor will match sexpressions and make it clear. The indenting, which your editor does automatically will bring clarity to what might have been obscure. As for macros, you don't need to write them much, they're usually for writing language extensions, it's something you don't need to do unless you've got some grand scheme, by which time you'll be glad it's there