TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

LSP client in Clojure in 200 lines of code

162 Punktevon vlaaadvor 2 Tagen

2 comments

whalesaladvor 2 Tagen
This is the most Java-y Clojure I’ve probably ever read. Just use Java? It’s so verbose and complex for what it is doing. Breaking this down into smaller functions and using core.async would make it even more succinct.<p>Just want to emphasize this because clojure is indeed a small, lesser known language that has a hard enough time attracting users. This is not what anyone would consider an idiomatic example of using clojure.
评论 #43960179 未加载
评论 #43959102 未加载
评论 #43960325 未加载
评论 #43958458 未加载
评论 #43959894 未加载
评论 #43959907 未加载
askonommvor 1 Tag
Holy crap is this unreadable or what (notably the lsp-base fn). There&#x27;s a reason why in most Clojure companies I&#x27;ve worked at we try to make as small functions as possible, because otherwise it very very quickly becomes an unreadable mess, and you write code after all for humans to read, because if you didn&#x27;t, you might as well just write binary. But, I&#x27;m not surprised many people don&#x27;t want to get into Clojure or Lisps in general, because it takes a boatload of conventions and active discipline to make it a good experience.
评论 #43962689 未加载