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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What languages teach the wisdom of C without the uglyness of it?

1 点作者 philonoist超过 6 年前
I have been going through C again. I want the manual power on memory management and low level computing without C&#x27;s ugly I&#x2F;O and other pointer semantics it provides.<p>The syntax is inconsistent in many ways.<p>https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;4025768&#x2F;what-do-people-find-difficult-about-c-pointers<p>So basically, I want to be able to use pointers but in a sane way. Most of them are dependent of standard library than language anyway.<p>I can&#x27;t afford time for going further low level like machine architecture or assembly language.<p>Does Pascal help? Does learning functional programming first help? If so, which small functional language( except for Haskell)?

2 条评论

towaway1138超过 6 年前
Noting that that link was closed as &quot;not constructive&quot;.<p>Not sure what about (say) ANSI C is particularly ugly. The business about pointers to arrays versus pointers to array elements is a bit annoying (and a mistake in retrospect). But that&#x27;s about it. The rest makes perfect sense.
评论 #19171043 未加载
评论 #19169399 未加载
piano超过 6 年前
You don&#x27;t describe what you actually want or consider &#x27;sane&#x27;. But the answer is probably &quot;There&#x27;s no such thing&quot; anyway, unless you&#x27;re looking for Rust, which you probably aren&#x27;t.
评论 #19171024 未加载