TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

J Can be Readable

26 pointsby skazka16almost 11 years ago

4 comments

klibertpalmost 11 years ago
I think being extremely succinct is one of J strengths. You can trade it for better readability, of course, but you don&#x27;t really have to. As I read somewhere, J is meant to be read with the help of J system. You have at least two ways of visualising how expressions are parsed and once you know this (and it can be a little hard to figure out yourself in more complex J expressions) you can just execute bits of the expression to see what they do. With practice you start to see idioms (there are many in J cookbook) which reduces the number of parts of expression you need to execute.<p>I like J because it forces me to think differently and I don&#x27;t mind spending extra time on writing and (trying to) reading it. I imagine in the production setting it would matter more, so I&#x27;m not saying that the second version of sudoku solver in the article is somehow &quot;wrong&quot;. I just wanted to note that it&#x27;s not absolutely impossible to use J in it&#x27;s succinct, tacit form, both for writing and reading.<p>Anyway, I&#x27;m very happy that J gets some attention. It&#x27;s a great language!
nkurzalmost 11 years ago
I hadn&#x27;t known that J had any Korean connection. Does it, or is this being used in the sense of &quot;it&#x27;s Greek to me&quot;?
评论 #7792769 未加载
评论 #7792846 未加载
评论 #7792665 未加载
kenkoalmost 11 years ago
That distinction between `while` and `whilst` is a humdinger.
a3voicesalmost 11 years ago
If your code couldn&#x27;t be understood by an intern, you shouldn&#x27;t write it.