JargonFile/original/html/F/for-values-of.html
2014-03-27 18:54:56 +00:00

20 lines
2.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>for values of</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../F.html" title="F"/><link rel="previous" href="for-the-rest-of-us.html" title="for the rest of us"/><link rel="next" href="fora.html" title="fora"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">for values of</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="for-the-rest-of-us.html">Prev</a> </td><th width="60%" align="center">F</th><td width="20%" align="right"> <a accesskey="n" href="fora.html">Next</a></td></tr></table><hr/></div><dt><a id="for-values-of"/><dt xmlns="" id="for-values-of"><b>for values of</b></dt></dt><dd><p> [MIT] A common rhetorical maneuver at MIT is to use any of the
canonical <a href="../R/random-numbers.html"><i class="glossterm">random numbers</i></a> as placeholders for
variables. &#8220;<span class="quote">The max function takes 42 arguments, for arbitrary
values of 42.:</span>&#8221; &#8220;<span class="quote">There are 69 ways to leave your lover, for 69
= 50.</span>&#8221; This is especially likely when the speaker has uttered a
random number and realizes that it was not recognized as such, but even
&#8216;non-random&#8217; numbers are occasionally used in this fashion. A
related joke is that <tt class="literal">&#960;</tt> equals 3 &#8212;
for small values of <tt class="literal">&#960;</tt> and large values
of 3.</p><p>Historical note: at MIT this usage has traditionally been traced to
the programming language MAD (Michigan Algorithm Decoder), an Algol-58-like
language that was the most common choice among mainstream (non-hacker)
users at MIT in the mid-60s. It inherited from Algol-58 a control
structure FOR VALUES OF X = 3, 7, 99 DO ... that would repeat the indicated
instructions for each value in the list (unlike the usual FOR that only
works for arithmetic sequences of values). MAD is long extinct, but
similar for-constructs still flourish (e.g., in Unix's shell
languages).</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="for-the-rest-of-us.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../F.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="fora.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">for the rest of us </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> fora</td></tr></table></div></body></html>