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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Why not Programming languages instead of Mathematical Notation?

2 点作者 EzGraphs超过 12 年前
Why don't educators and modern math text books use programming languages instead of mathematical notation?<p>As a programmer, I tend to absorb mathematical concepts by writing programs. With the recent emphasis on programming literacy, and the fact that much math ends up expressed in a computer program, why don't educators use programming languages instead of mathematical notation? Mathematical symbols are often difficult to represent without special editors. Modern languages (Python, Ruby, arguably R) can be used to notate algorithms in a few lines of code that replace "pseudocode" type illustrations.

2 条评论

one-two超过 12 年前
Formal (math) notation has been around forever and it will probably stay that way. Using it to specify software is a recent application, but the meanings of symbols and their relationships are well established. Programming language syntax rules change, math does not. Also, math is more concise, more precise, and easier to analyze (prove that something is possible/impossible) than a programming language.<p>P.S. Check out Using Z (usingz.com). It is fantastic.
EzGraphs超过 12 年前
Some responses might involve analogies with musical notation. Knowing the notation allows you to read the modern literature and also great documents of the past. But it would seem that an awful lot of math could be applied with out having that depth of understanding. Guitar tableture serves as a suitable proxy for guitarists...