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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

In Praise of APL: A Language for Lyrical Programming (1977)

117 点作者 bladecatcher超过 6 年前

8 条评论

tumba超过 6 年前
&gt; I am firmly convinced that APL and LISP are related to each other along an important axis of language design and that acquiring simultaneous expertise in both languages is possible and desirable for the beginning student. Were they unified, the set of tasks that succumb to terse, flexible and expressive descriptions will enlarge enormously without overly increasing the intellectual burden on the student over his initial 16 week contact period.<p>In the context of setting the objectives for education in computer science for general students, I like the idea that the objectives are to (a) understand the limits and potential of computation and (b) achieve fluency in programming such that one can conceive of and describe computational processes for a wide range of tasks.<p>He explicitly suggests that fluency in using other people’s programs not be an objective. Perhaps this is a bit idealistic since most programming in the wild today consists of glueing together other people’s programs. But it seems like the right objective when possible—-in some ways it is a view of computer science as a liberal art.
评论 #18689715 未加载
评论 #18690007 未加载
评论 #18690875 未加载
praeconium超过 6 年前
APL&#x27;s are a special beast. A very interesting article that got me hooked &quot;Ruins of forgotten empires: APL languages&quot;<p><a href="https:&#x2F;&#x2F;scottlocklin.wordpress.com&#x2F;2013&#x2F;07&#x2F;28&#x2F;ruins-of-forgotten-empires-apl-languages&#x2F;" rel="nofollow">https:&#x2F;&#x2F;scottlocklin.wordpress.com&#x2F;2013&#x2F;07&#x2F;28&#x2F;ruins-of-forgo...</a>
评论 #18693513 未加载
评论 #18691801 未加载
bladecatcher超过 6 年前
Related article posted on HN recently:<p>APL is more French than English [<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18640451" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18640451</a>]
评论 #18689787 未加载
评论 #18689769 未加载
rbanffy超过 6 年前
In college, we had a class about high-level languages and the teacher decided to go with APL. Many of my colleagues complained they&#x27;d never use APL professionally and that some other language, with more ready practical use (we already had FORTRAN and everyone was fluent in BASIC) would be a better choice. They were right, of course, in that they&#x27;d never use APL professionally. They were stupendously wrong in that it was a profoundly enlightening experience.<p>Once you learn APL, you gain a super-compact mathematical notation in which to express computation.<p>You also learn the value of extensive comments and of avoiding being clever - if you try to be clever, you won&#x27;t understand your program 5 seconds after having written it.<p>And, if you are really lucky, you&#x27;d have learned what a beam-spring keyboard feels like. :-)
aasasd超过 6 年前
Now that I feel the bite from my sedentary lifestyle on my bum, I&#x27;m more and more attracted by the idea of a language taking 1&#x2F;10th the typing compared to what&#x27;s typical today. However, afaict languages following APL&#x27;s suit specialize in math, so I wonder if the approach could be adapted to more general kind of coding.<p>Even though the set of short symbols has to be limited, don&#x27;t we currently have a few dozen often-repeated operations in language keywords and standard libraries? (Especially in the approach of e.g. Clojure, relying heavily on combining standard transformations on strictures.)
评论 #18690792 未加载
评论 #18689985 未加载
评论 #18689829 未加载
评论 #18691464 未加载
评论 #18690757 未加载
ghotli超过 6 年前
&quot;Above all, remember what we must provide is a pou sto to last the student for 40 years, not a handbook for tomorrow’s employment.&quot;<p>At least around here, this strikes a nerve. Especially 40 years later. All of the colleges in town prep for the local market of tech rather than the fundamentals that may be advantageous overall and potentially financially more so out of market. I know stellar remote and small &#x2F; mid size shop engineers in this part of the south, but by and large the schools are completely myopic about this and perpetuate the microcosm of low paid enterprise focused sweatshop cubework. I realize to paint it with such language is hyperbole but it&#x27;s certainly not the exception to the rule.
ColanR超过 6 年前
I can imagine that a fork of GNU APL, re-written in FORTRAN with multi-threaded and maybe distributed computing support, would be an amazing mathematical tool. Something that&#x27;s super fast and scales really well, and makes mathematical operations really easy.
评论 #18689503 未加载
评论 #18689442 未加载
评论 #18689891 未加载
drsopp超过 6 年前
&gt; First appeared in SIAM News, 1977-06.
评论 #18691773 未加载