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.

Introduction to J Programming Language (2004)

45 pointsby skazka16almost 10 years ago

6 comments

brudgersalmost 10 years ago
Ken Iverson&#x27;s introductory text is <i>Math for the Layman</i>. It suggests that &quot;learning J&quot; is a bit like &quot;learning math&quot; and that proficiency should probably be measured more in terms of how one applies J to particular problems rather than general knowledge of syntax and recall of library functions as is common when talking about computer languages.<p><a href="http:&#x2F;&#x2F;www.cs.trinity.edu&#x2F;About&#x2F;The_Courses&#x2F;cs301&#x2F;math-for-the-layman&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cs.trinity.edu&#x2F;About&#x2F;The_Courses&#x2F;cs301&#x2F;math-for-t...</a><p>Or to put it another way, a person can know J in the same sort of way a 7th grader knows math...or a 3rd grader or a Master&#x27;s candidate. J is an exploratory language and will meet a person where they are. It is useful whether the person is only capable of basic arithmetic or convex hulls.
评论 #9638453 未加载
pierrecalmost 10 years ago
I&#x27;ve been slowly learning J on and off for the past year or so (well, I wanted to learn it ever since I saw this [1]). It still feels pretty write-only to me, and I wouldn&#x27;t make any large project in it, but as a brainstorming, research and experimentation tool, it&#x27;s gold. This especially applies if you&#x27;re working with matrices or things that can be well represented by arrays of any dimension.<p>The jqt environment that comes with the standard package is polished, and encourages an interactive workflow where you progressively build your sentences while looking at the output. This way also greatly eases the learning curve.<p>Another useful tool to help learning is the cheat sheet [2]. I&#x27;m not really into dead trees but I still printed it on paper because I&#x27;m not surrounded by monitors, and it really helps to have a quick reference to the very rich and concise J vocabulary. Applying unexplored verbs to problems that interest you is a fun exercise.<p>One thing that struck me it that it&#x27;s difficult to look up examples to help you as you go, in part because the one-letter name is not search engine-friendly, but more importantly because of the small size of the J corpus out there on the web. This is good because it force you to find solutions yourself, but it&#x27;s bad because you never know if you&#x27;re limiting yourself to a sub-optimal solution.<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1041500" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1041500</a><p>[2]: <a href="http:&#x2F;&#x2F;www.jsoftware.com&#x2F;jwiki&#x2F;HenryRich?action=AttachFile&amp;do=view&amp;target=J602_RefCard_color_letter_current.pdf" rel="nofollow">http:&#x2F;&#x2F;www.jsoftware.com&#x2F;jwiki&#x2F;HenryRich?action=AttachFile&amp;d...</a>
评论 #9638498 未加载
tempodoxalmost 10 years ago
Nice to see an article that explains a bit about J&#x27;s background. And definite sympathy points for the language supporting complex numbers. But I&#x27;m still wondering what the language&#x27;s “high performance” is based upon. I&#x27;m an assembler hog and any language that doesn&#x27;t compile to native code is just a toy to me. Yet the article only mentions an interpreter. I think, by now there must be something better than an interpreted write-only language.
评论 #9638555 未加载
评论 #9638039 未加载
评论 #9641766 未加载
评论 #9638656 未加载
评论 #9638287 未加载
评论 #9656388 未加载
bedersalmost 10 years ago
if you put<p><pre><code> s =: ({. , }. &#x2F;: 12&quot;_ o. }. - {.) @ &#x2F;:~ </code></pre> in my code base, you are going to get smacked. Expressability of programming languages has a cognitive limit and J is flirting with it.
评论 #9649273 未加载
bshimminalmost 10 years ago
They should totally do a &quot;J For Dummies&quot; book.
评论 #9637621 未加载
panjaroalmost 10 years ago
So eventually there will be programming language for every letter ? j, k , l, m , n......
评论 #9638192 未加载