SICP学习与感想
神课的学习与感想~
课上把编程语句分为两种陈述句和祈使句。DECLARATIVE VS IMPERATIVE
重点在于 IMPERATIVE 怎么理解?
释义:used to describe the form of a verb that is usually used for giving orders:
- imperative form In the phrase “Leave him alone!”, the verb “leave” is in the imperative form.
- 陈述句:Declarative clauses most commonly function as statements. The usual word order is subject (s) + verb (v) + x. Declaratives can be affirmative or negative. They make statements about how things are and how they are not.
- 祈使句:Imperative clauses most commonly function as commands, instructions or orders. The usual word order is verb + x. We do not usually include the subject in an imperative clause. We use the base form of the verb
- 疑问句:Interrogative clauses most commonly function as questions. The usual word order is (wh-word) + auxiliary/modal verb (aux/m) + subject + verb + x
- 感叹句:Exclamative clauses usually have one of the following word
orders:
- What + noun + subject + verb
- How + adjective or adverb + subject + verb
- Auxiliary or modal verb + subject + verb (i.e. interrogative word order)