Over at ACM.org, Bertrand Meyer has a bone to pick regarding the use of 'statement' instead of 'instruction' when it comes to code:
I harbor no illusion about the effectiveness of airing this particular pet peeve; complaining about it has about the same chance of success as protesting against split infinitives or music in restaurants. Still, it is worth mentioning that the widespread use of the word "statement" to denote a programming language element, such as an assignment, that directs a computer to perform some change, is misleading. "Instruction" is the better term.
A "statement" is "something stated, such as a single declaration or remark, or a report of fact or opinions" (Merriam-Webster).
Why does it matter? The use of "statement" to mean "instruction" obscures a fundamental distinction of software engineering: the duality between specification and implementation. Programming produces a solution to a problem; success requires expressing both the problem, in the form of a specification, and the devised solution, in the form of an implementation. It is important at every stage to know exactly where we stand: on the problem side (the "what") or the solution side (the "how"). In his famous Goto Statement Considered Harmful of 1968 (in this very venue!), Dijkstra beautifully characterized this distinction as the central issue of programming:
Our intellectual powers are rather geared to master static relations and our powers to visualize processes evolving in time are relatively poorly developed. For that reason we should do (as wise programmers aware of our limitations) our utmost to shorten the conceptual gap between the static program and the dynamic process, to make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible.
The author gives examples of the difference between instructions and statements, and concludes by saying:
So, please stop saying "an assignment statement" or "a print statement"; say "an assignment instruction" and so on.
At least he said "please."
[We can no longer use terms such as "master/slave" for fear of offending somebody - but what are your pet peeves in your own profession? JR]
(Score: 2) by c0lo on Saturday December 17, @04:39AM (2 children)
Diesel have gas pedal, even one shouldn't use gasoline in a Diesel.
It was only 11 years ago: A Magazine Is an iPad that Doesn't Work [theatlantic.com].
And yes, the above is about text and photos printed on paper, nothing about ammo [wikipedia.org] or 3D-printed guns (a topic which has little things to do with technology nowaday - grin) - there's even a short film about it (grin) [youtube.com]
Careful there, some may think you're talking about something else [wikipedia.org]
https://www.youtube.com/watch?v=aoFiw2jMy-0
(Score: 1) by Runaway1956 on Saturday December 17, @01:40PM (1 child)
Here in the states, most drivers call that pedal the throttle. Calling it the gas pedal is the mark of a noobie with no experience.
Abortion is the number one killed of children in the United States.
(Score: 0) by Anonymous Coward on Saturday December 17, @09:40PM
> in the states, most drivers call that pedal the throttle
Which is correct for gasoline engines, the throttle restricts the air coming into the engine. But in a diesel there is no throttle on the air intake, the power control is done by varying the amount of fuel.
My choice is "accelerator"...or if you are talking with a kid, "go pedal" (and then the brake is "stop pedal".)