zlacker

[return to "Which programming languages are most token-efficient?"]
1. jwr+vP[view] [source] 2026-01-12 09:07:11
>>tehnub+(OP)
I program mostly in Clojure and I expected it to be near the top, as it tends to be very concise and expressive (qualities I really admire). I am getting excellent results from Claude Code (Opus 4.5), and I think this might be one of the reasons. I'm using Claude with a large code base and the token-efficiency of Clojure might help with fitting more into the context window.
◧◩
2. kalisz+kR1[view] [source] 2026-01-12 15:38:58
>>jwr+vP
I also program a lot in Clojure/Script. Do you also consider thinking token and the number of iterations in the token efficiency?
◧◩◪
3. jwr+wD2[view] [source] 2026-01-12 19:14:35
>>kalisz+kR1
I don't think thinking tokens are affected, as LLMs "think" mostly in plain language, with occasional code snippets.
◧◩◪◨
4. kalisz+BH3[view] [source] 2026-01-13 03:13:32
>>jwr+wD2
I would assume for certain problems LLMs have a solution readily available for JavaScript/ TypeScript or similarly popular languages but not for Clojure/Script. Therefore my thinking was that the process of getting to a workable solution would be longer and more expensive in terms of tokens. I however don't have any relevant data on this so I may just be wrong.
[go to top]