←back to thread

166 points todsacerdoti | 4 comments | | HN request time: 0.811s | source
Show context
userbinator ◴[] No.44506358[source]
Somewhat less frequently, I also hear "invoke" or "execute", which is more verbose but also more generic.

Incidentally, I find strange misuses of "call" ("calling a command", "calling a button") one of the more grating phrases used by ESL CS students.

replies(7): >>44506396 #>>44506421 #>>44506500 #>>44506580 #>>44510160 #>>44510878 #>>44511635 #
1. treyd ◴[] No.44506421[source]
I actually see the converse often with novices often, referring to statements (or even entire function decls) as "commands".
replies(1): >>44506617 #
2. kragen ◴[] No.44506617[source]
"Command" is a better term for what we call "statements" in imperative programming languages. "Statement" in this context is an unfortunate historical term; except in Prolog, these "statements" don't have a truth-value, just an effect. (And in Prolog we call them "clauses" instead.)
replies(1): >>44510711 #
3. adrian_b ◴[] No.44510711[source]
True.

In many early computer programming documents the term "order" was used instead of "statement", where "order" was meant as a synonym for "command" and not as referring to the ordering of a sequence.

replies(1): >>44511605 #
4. kragen ◴[] No.44511605{3}[source]
Occasionally, but much more often (as in Mauchly's cited paper) an "order" was a machine instruction, not a high-level language "statement".