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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

"But It Doesn't Mean Anything" – A demonstration of the value of computer code

86 点作者 inglesp超过 11 年前

17 条评论

chriswarbo超过 11 年前
Paxman&#x27;s point about code being &#x27;meaningless&#x27; was to emphasise that the <i>end goal</i> of this initiative is stupid. It&#x27;s not &quot;learn to think analytically&quot;, it&#x27;s not &quot;learn to express your ideas precisely&quot;, it&#x27;s not &quot;learn to instruct a computer&quot;, it&#x27;s not even &quot;learn to use a computer&quot;, it&#x27;s &quot;learn to code&quot;.<p>Computers are clearly important, and Paxman would not deny it, but that doesn&#x27;t make school IT classes any less pointless. They are terrible because they teach what buttons to click to make Microsoft Word 97 display text in bold, rather than the ability to think about problems; arguably they teach <i>against</i> thinking about problems (like &quot;how do I make text bold?&quot;), in favour of rote learning and hand-holding. Likewise, teaching kids which punctuation marks to press in Notepad to make a HTML element turn green is also a terrible idea, because it&#x27;s focusing on the code. This is also the most common complaint I&#x27;ve heard about undergraduate computer science courses (teaching one particular language&#x27;s syntax rather than how to solve problems).<p>I saw this summed up best on &#x2F;. <a href="http://developers.slashdot.org/comments.pl?sid=4771525&amp;cid=46205325" rel="nofollow">http:&#x2F;&#x2F;developers.slashdot.org&#x2F;comments.pl?sid=4771525&amp;cid=4...</a><p>&quot;The problem here is that &quot;code&quot; is being used as a synonym for &quot;computer magic&quot;.&quot;<p>This captures the essence of this interview exactly. Paxman made a provocative remark, and did Dexter argue against it? No, she agreed with him and said some nonsense about code being for computers:<p>&quot;It doesn&#x27;t mean anything to you, or to me yet, but it&#x27;s the set of instructions that you type into a computer to get an output.&quot;<p>In other words &quot;computer magic&quot;. What Dexter doesn&#x27;t realise, probably because she&#x27;s not spent a significant amount of time programming, is that <i>code is for people to understand</i> and only incidentally for machines to execute. If programming was only about satisfying the computer, our keyboards would only have two big buttons: 0 and 1.<p>Now, this was essentially true in the early days of computing (punching cards) but we&#x27;ve progressed beyond this. The reason we use code is to allow <i>people</i> to discover, understand and build on <i>ideas</i>.
评论 #7232081 未加载
评论 #7232489 未加载
评论 #7231719 未加载
评论 #7235139 未加载
评论 #7232179 未加载
评论 #7232418 未加载
评论 #7231661 未加载
评论 #7232630 未加载
billyjobob超过 11 年前
Paxman&#x27;s whole shtick is that he argues with the people he interviews. Usually it is quite effective, because mostly he interviews politicians who are full of shit and he points it out in a way that more reverential interviewers don&#x27;t. However, he probably doesn&#x27;t mean everything he says: he just takes a contrarian view to whatever the interviewee says.
评论 #7231597 未加载
评论 #7231627 未加载
throwaway13qf85超过 11 年前
I recently spoke to a guy who sells swaps for a major investment bank.<p>The basic idea is that he comes up with some trading strategy, and writes the code that computes the profit&#x2F;loss associated with that strategy if it was executed at market fixing prices (typically the market open or close each day).<p>The bank sells a total return swap on this strategy, which means that in return for a fee from the client, they pay the client the stream of profits (or losses) each month that would have resulted from trading this strategy. Behind the scenes, the bank trades the strategy (or something like it) in order to hedge the risk associated with the swap, so that they can earn the fee approximately risk free.<p>There&#x27;s an obvious problem with this, which is that the client basically has to take the bank&#x27;s word for what the profit&#x2F;loss of the strategy is. To counter that, the guy who came up with the strategy now has to write a 100+ page document in legalese, which outlines exactly how the profit&#x2F;loss on the strategy is calculated. This has to be sufficiently detailed that someone couple re-implement the code themselves to check it. The guy I spoke to said that this documentation takes up &gt;50% of his time.<p>I&#x27;m sure everyone here will appreciate how incredible it is that a bank will pay someone six figures every year to spend more than half their time writing documentation that literally does nothing more than <i>reproduce a piece of code</i>, except about 50 times more verbosely.<p><i>Different symbols, but it doesn&#x27;t mean anything.</i>
ghswa超过 11 年前
It&#x27;s important to remember that the &quot;year of code&quot; initiative is <i>not</i> related to the new curriculum coming into force in September 2014. My wife is writing a book for the new curriculum and, from what she&#x27;s told me, it sounds quite good.<p>At Key Stage 1 (ages 5 to 7) children are taught about algorithms, that they are a way of breaking tasks into a sequence of steps that can be reused to solve problems.<p>They will also be taught about the pervasiveness of software - about the different kinds of devices and appliances that rely on software.<p>Finally, they will be taught about privacy. I&#x27;m not sure of the content but I assume it&#x27;ll be about managing information about themselves.
评论 #7232958 未加载
评论 #7232656 未加载
grannyg00se超过 11 年前
So much of that is hard to watch.<p>Particularly the teaching of jQuery to people who are just starting out. And the multiple assertions that one can &quot;pick it up in a day&quot;, whether it be programming or teaching skills.<p>Seems to be about throwing together a web page in a day rather than learning to code.<p>And it seems the usefulness of computer programs doesn&#x27;t extend beyond ecards, web sites, and &quot;apps&quot;.
w_t_payne超过 11 年前
&quot;Code&quot; is a horrible word.<p>I prefer &quot;source documents&quot;, or, if pressed, &quot;Formal descriptions of the program&quot;.<p>Using the word &quot;code&quot; implies that the document is &quot;encoded&quot; somehow, which is plainly undesirable and wrong.<p>With some notable (1) exceptions, the primary consumer of a &quot;source document&quot; is a human being, not a machine.<p>The machine&#x27;s purpose is to ensure the formal validity and correctness of the document - but the majority of the informational content of the document (variable names, structure, comments) is exclusively directed to human developers.<p>We will never program in a &quot;wild&quot; natural language, but many programming languages (2) make a deliberate effort to support expressions which simulate or approximate natural language usage, albeit restricted to a particular idiomatic form.<p>There will always be a tension between keeping a formal language simple enough to reason about and permitting free, naturalistic expression - but this is the same tension that makes poetry and haiku so appealing as an art form.<p>So many source documents appear to be &quot;in code&quot;, not because this is a necessary part of programming, but because it is very very difficult to write things which combine sufficient simplicity for easy understanding, and the correct representation of a difficult and complex problem. In most of these cases, clear understanding is baffled not by the programming language, but by the complexity of the real world.<p>The rigidly deterministic nature of the computer forces the programmer to deal with a myriad of inconsistencies and complications that the non-programmer is able to elide or gloss over with linguistic and social gymnastics. The computer forces us to confront these complications, and to account for them.<p>In the same way that Mathematics isn&#x27;t really about numbers, but about the skill and craftsmanship of disciplined thought, programming isn&#x27;t really about computers, but about what happens when you can no longer ignore the details within which the devil resides.<p>(1) Assembler &amp; anything involving regular expressions. (2) Python
pessimizer超过 11 年前
&gt;What angers me here is Paxman&#x27;s attempt to make a virtue of his own ignorance.<p>It&#x27;s important to be aggressively ignorant when interviewing people who are making a case for something. It&#x27;s a hand-waving and &quot;common sense&quot; repellant.<p>You can&#x27;t just say that everyone should learn to code because coding is important and everyone needs to know how to do it.<p>Other than the central argument, though, I actually love this post:) Paxman shouldn&#x27;t mind being made a strawman for a pretty exploration like this. More, please.
vhold超过 11 年前
This made me realize just how much the media&#x27;s visual portrayal of computer programming is a problem. When he said &quot;It doesn&#x27;t mean anything&quot; he&#x27;s gesturing over to a stereotypical background image representation of code which is all tilted, blurred, overlapping, clashing colors, etc. It&#x27;s purposefully skewed in every dimension to make it incomprehensible, and he actually uses that as evidence about something.
shizzy0超过 11 年前
The interviewer is partly right, and students who have a natural aptitude[1] for programming often recognize this: Code is meaningless. At the application level, you may have something that looks like an image. Underneath, you may represent it with numbers. Numbers, however, are also a fiction represented with bits. The meaning is based entirely on one&#x27;s interpretation. Creating a mapping between meaningless formalism and meaningful interpretation is the principle obstacle to learning to program.<p>I understand the point the author is trying to make, and the interviewer in the video has not grasped the above. To answer his concern, ask him what meaning does the letter &#x27;d&#x27; have? Next to none, but in composition it can provide quite a lot of meaning. (This is an argument from Hofstadter.)<p>[1]: I had a study&#x2F;source for this, but I can&#x27;t find it.
chrismcb超过 11 年前
So, they are teaching people to code, so they can make ecards? It is probably much easier to use something already written to create an ecard... And that is my whole point with this &quot;learn to code.&quot; People think that everyone in the future will need to know how to code. No, in the future it will be important to know how to use the computer, but not everyone needs to know how to code. Just like not everyone needs to know how to do everything else in the world. You can teach people how use computers, without teaching them to program. And teaching them to program won&#x27;t necessarily teach them how to use computers.
JoshuaRedmond超过 11 年前
I don&#x27;t think that Paxman&#x27;s comment was as flippant as this article is making out. If you watch the video, his comment follows Lottie Dexter vaguely waving at the graphic of code behind him in desperate attempt to describe what code actually is when she quite sure herself. What he sees is a blurry mess of code pulled from who-knows-where that blatantly isn&#x27;t of any use in it&#x27;s current form. I&#x27;m not trying to downplay some of the awesome things done with code in the article, but I think the comment it&#x27;s based on has been misunderstood.
cLeEOGPw超过 11 年前
Since the interview is seen by general population, he was just asking questions that an average computer illiterate person would ask and at the same time challenging and testing her on the subject.
评论 #7232312 未加载
评论 #7232193 未加载
jorgeleo超过 11 年前
I found funny that she said &quot;But it doesn&#x27;t mean anything&quot; when lots of artist now days make a career out of using FFT in Autotune...<p>Did I say that out loud?
pweissbrod超过 11 年前
I recommend anyone who doesnt understand learning the fundamentals of writing code read the book &quot;player piano&quot; by Kurt Vonnegut which depicts a dystopian future where most human labor is replaced by machinery and software and engineers and managers rule society.<p><a href="http://en.wikipedia.org/wiki/Player_Piano_(novel)" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Player_Piano_(novel)</a>
moron4hire超过 11 年前
If the general populace doesn&#x27;t need to learn about programming because it won&#x27;t mean anything to them, then the general populace really doesn&#x27;t need to study the vast majority of history that we&#x27;re forced to sit through and regurgitate in unimaginative fashion.<p>I, on the other, will sit on the side of the liberal arts and say that any and all learning is worthwhile.
lcfg超过 11 年前
The &quot;Russel Brand&quot; link (just before the footnotes) is pointing to the wrong url.
jwmoz超过 11 年前
Paxman is a twat.