4 ms·
Thanks. Are you saying that the shell (or C or assembly) is a language closely tied to a system, e.g., a CPU, a kernel and utilities - a system that can produc
by gwu78 13y ago
Thanks.
Are you saying that the shell (or C or assembly) is a language closely tied to a system, e.g., a CPU, a kernel and utilities - a system that can produce various types of errors?
Whereas APL is not tied to such a system, other than mathematics?
- panzi 13y agoThe shell is closely tied to running commands and the exit code of commands make up the true/false values. "return 0" in the main function of a C program means "no error" which is interpreted as true by the shell. Different non-zero return values signal different command (program) specific error states.
- gwu78 13y ago"The shell is closely tied to running commands..." s/commands/programs/ But yes, I agree. To arrive at a return value, APL evaluates a mathematical operation, whereas the shell evaluates the result(s) of executing a file.