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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Was Programming Intuitive to You?

1 点作者 mandown2308将近 4 年前

2 条评论

ajuc将近 4 年前
The main obstacle for me was understanding variables and &quot;=&quot; operator. It wasn&#x27;t immediately obvious to me what happens to variables in a &quot;for&quot; loop for example.<p>I knew you can count up thanks to it, but I had no mental model of step-by-step execution and variables changing values, so I couldn&#x27;t predict how this will behave:<p><pre><code> FOR X = 1 TO 10 Z = Y Y = X + 1 PRINT Z NEXT X </code></pre> It probably didn&#x27;t helped that I only knew Polish at that time and BASIC was in English and the manual for my C64 was in German :)<p>So I mostly typed in the programs from that manual to see what happens and played with the numbers there to see what changes. Some programs I never got to work - for example the one with sprites. The whole thing with programming for me was to make my own games so I was pretty devastated by that, and it was before anybody had internet so I was stuck :)<p>Then I got a PC and Turbo Basic (and later Turbo Pascal). And a book about Turbo Pascal in Polish - and then I really understood most of the concepts in programming - user defined functions and procedures, recurrence, dynamic memory, pointers, data structures, etc.<p>After that each next language was just a little different from the previous one so it was pretty easy.
nhgiang将近 4 年前
For me, the intuition stops at tree and graph. Anything more complicated (probability, matrix, etc.), I need a reference every time I work with.
评论 #27618252 未加载
评论 #27618235 未加载