Files
JargonFile/original/html/P/precedence-lossage.html
2014-03-27 18:54:56 +00:00

15 lines
3.0 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.
This file contains Unicode characters that might be confused with other characters. 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>precedence lossage</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="../P.html" title="P"/><link rel="previous" href="pr0n.html" title="pr0n"/><link rel="next" href="pred.html" title="pred"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">precedence lossage</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr0n.html">Prev</a> </td><th width="60%" align="center">P</th><td width="20%" align="right"> <a accesskey="n" href="pred.html">Next</a></td></tr></table><hr/></div><dt><a id="precedence-lossage"/><dt xmlns="" id="precedence-lossage"><b>precedence lossage</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="pronunciation">/pre´s@·dens los'@j/</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> [C programmers] Coding error in an expression due to unexpected
grouping of arithmetic or logical operators by the compiler. Used esp. of
certain common coding errors in C due to the nonintuitively low precedence
levels of <b class="command">&amp;</b>, <b class="command">|</b>, <b class="command">^</b>, <b class="command">&lt;&lt;</b>, and <b class="command">&gt;&gt;</b> (for this reason, experienced C programmers
deliberately forget the language's <a href="../B/baroque.html"><i class="glossterm">baroque</i></a>
precedence hierarchy and parenthesize defensively). Can always be avoided
by suitable use of parentheses. <a href="../L/LISP.html"><i class="glossterm">LISP</i></a> fans enjoy
pointing out that this can't happen in <span class="emphasis"><em>their</em></span> favorite
language, which eschews precedence entirely, requiring one to use explicit
parentheses everywhere. See <a href="../A/aliasing-bug.html"><i class="glossterm">aliasing bug</i></a>,
<a href="../M/memory-leak.html"><i class="glossterm">memory leak</i></a>, <a href="../M/memory-smash.html"><i class="glossterm">memory smash</i></a>,
<a href="../S/smash-the-stack.html"><i class="glossterm">smash the stack</i></a>,
<a href="../F/fandango-on-core.html"><i class="glossterm">fandango on core</i></a>, <a href="../O/overrun-screw.html"><i class="glossterm">overrun screw</i></a>.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr0n.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../P.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pred.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">pr0n </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> pred</td></tr></table></div></body></html>