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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Programming Is Easier Than Most People Think

45 点作者 chkas11 个月前

19 条评论

kreeWall11 个月前
I&#x27;ve taught code to children for years as the founder of a coding nonprofit, and this is a great way of laying out logic. Block code is very often taught to children and is a pet peeve of mine as it doesn&#x27;t translate into strongly typed code for them, so we lose a number of kids in the shuffle when they believe code is too hard. Thank you for sharing!<p>If you were wanting to build on this, one of the greatest struggles, particularly with children, is syntax and spelling errors. They very often misspell words like &quot;background&quot; when we&#x27;re teaching web dev, or forget their brackets and semicolons, so their code doesn&#x27;t run.<p>If you were to make something similar but in a language they&#x27;re already learning, such as Javascript, Java or Python (which, in my opinion, are the most common languages taught to kiddos), that might be useful.<p>Happy to chat more about this if you&#x27;re looking for more on this perspective.
评论 #40851191 未加载
评论 #40848539 未加载
Myrmornis11 个月前
&gt; When programming, you tell the computer with a special code what to do.<p>I&#x27;d suggest changing that to something like &quot;with a special sequence of commands&quot;.<p>While one can refer to computer programs as &quot;code&quot;, it doesn&#x27;t work to refer to them as &quot;a code&quot; -- when people read that they&#x27;ll think of a short sequence of letters or numbers, and it will be confusing.
评论 #40848177 未加载
Bjorkbat11 个月前
Reminds me of a comment I made a while back reflecting on past teaching experience. Programming is easy to teach, provided you have a fairly friendly context to teach under. Teaching programming in the context of p5js and by making a bunch of simple visual &#x2F; interactive &quot;toys&quot; is easy.<p>It gets complicated when you have to build websites and apps to actually solve some kind of business &#x2F; consumer need, and I would argue it isn&#x27;t even the programming aspect that makes it complicated. Rather, it&#x27;s the fact that the thing you&#x27;re building is built atop a layer of dependencies that you don&#x27;t really know anything about, who in turn have their own layer of dependencies. To use these dependencies effectively, you need to know about some of the concepts embodied within them, such as a render lifecycle if we&#x27;re talking about some kind of frontend js framework, knowledge that isn&#x27;t precisely &quot;programming knowledge&quot;.<p>And I as I mentioned before, this is why I think I&#x27;m not too worried about LLMs getting good at programming.
评论 #40851392 未加载
usgroup11 个月前
Easier than most people think ... to get started, but there are relatively few masters compared to the number of practitioners.
cduzz11 个月前
Thinking is harder than most people program.<p>Solving a problem is a complex process that has a small amount of programming even if it is a programming problem.<p>Programming is communication with both a computer and a person. Have fun!
Yakub-AlEspunj11 个月前
The struggle with teaching children programming is very real. I think a major issue is that we&#x27;re often too quick to jump into abstract concepts without laying a strong foundation in the basics. In my experience, kids (and adults alike) need to see the concrete, step-by-step process of how a program works before we can start abstracting away. The &quot;what&#x27;s going on under the hood&quot; questions always come when the program is broken and you need to debug.
anotherhue11 个月前
Just don&#x27;t confuse it with engineering.<p>Software Engineering = Programming + People + Time
评论 #40848128 未加载
评论 #40848083 未加载
Yakub-AlEspunj11 个月前
What I&#x27;d like to know is what people think about the notion that programming is inherently about logic and problem-solving, but then there&#x27;s the reality that most programmers spend a significant amount of their time on boilerplate code, debugging and dealing with the consequences of poorly designed software.
doublerabbit11 个月前
It is, all programming is easy once you know the syntax. Loop is a loop, and a conditional is a conditional.<p>The hard part nowadays is setting up the environment. There&#x27;s so much meta to a language now its scary.<p>Then everything is thrown in your face and don&#x27;t explain the fundamentals.<p>Imagine a bucket, with blue paint. Lets store this information of paint assigned to a variable of &quot;paint_bucket&quot;.<p>Most guides are: &quot;this is a variable, lets define it as blue&quot;.. assuming you know what a variable is. Sure it&#x27;s not hard to follow and understand but for those like me, I need to know.
mysterydip11 个月前
I like the use of 1000 colors, with the digits being RGB. I know there&#x27;s 12&#x2F;15&#x2F;24 bit color schemes already (for example), but having it human-readable as 0-9 digits is handy IMHO.
评论 #40848099 未加载
injidup11 个月前
Sure. Then you ask a simple question. Is point A to the left or the right of the line defined by points C and D and then you find out that your code gives different answers depending on how you ask the question then you find out about floating point robustness with regards to geometric problems then you wish you had stuck to studying high energy physics.
croes11 个月前
Writing a book is easier than most people think.<p>Letters make words make sentences make paragraphs make chapters make a book.
xnx11 个月前
Programming and problem solving is generally much easier than system installation and configuration. This is why so many novices can build amazing contraptions in Excel.
shrimp_emoji11 个月前
Haven&#x27;t professors universally observed over the years that a flat 50% of people &quot;just can&#x27;t code&quot;?
评论 #40850106 未加载
KwisatzHaderack11 个月前
This is awesome, thanks for sharing!
ks204811 个月前
I appreciate inventing a simple language to teach programming and this looks like a good introduction.<p>But at first glance, this looks SO similar to Python - just teach them to use some parentheses and colons and you&#x27;ll be learning programming AND learning a very useful language.
评论 #40848130 未加载
dvh11 个月前
&gt; print &quot;Hello &quot; &amp; n$<p>I don&#x27;t like this. It looks like nothing I&#x27;ve ever seen. It will make transition to real languages difficult.
评论 #40848896 未加载
kwhitefoot11 个月前
Aren&#x27;t you just reinventing Logo?<p>See, for instance, <a href="https:&#x2F;&#x2F;www.transum.org&#x2F;software&#x2F;Logo&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.transum.org&#x2F;software&#x2F;Logo&#x2F;</a>
评论 #40848975 未加载
ranger_danger11 个月前
&gt; You need a browser with WebAssembly support for this website.<p>No thanks.
评论 #40848148 未加载
评论 #40848230 未加载