TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

J Can be Readable

26 点作者 skazka16大约 11 年前

4 条评论

klibertp大约 11 年前
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!
nkurz大约 11 年前
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 未加载
kenko大约 11 年前
That distinction between `while` and `whilst` is a humdinger.
a3voices大约 11 年前
If your code couldn&#x27;t be understood by an intern, you shouldn&#x27;t write it.