In terms of programming, what do semantics mean?

前端 未结 7 875
被撕碎了的回忆
被撕碎了的回忆 2021-02-01 05:27

This is a sentence from Eric Lippert\'s blog:

Given that unfortunate situation, it makes sense to emphasize the storage mechanism first, and then the

7条回答
  •  萌比男神i
    2021-02-01 05:58

    Semantics is WHAT we mean the program should do. Sytax is language-specific constraint on how we express the semantics.

    In theory, as long as a program's semantics are correct, it doesn't matter what language was used to write it.

提交回复
热议问题