15 lines
2.5 KiB
HTML
15 lines
2.5 KiB
HTML
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>C Programmer's Disease</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="../C.html" title="C"/><link rel="previous" href="C.html" title="C"/><link rel="next" href="C-ampersand-C.html" title="C&C"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">C Programmer's Disease</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="C.html">Prev</a> </td><th width="60%" align="center">C</th><td width="20%" align="right"> <a accesskey="n" href="C-ampersand-C.html">Next</a></td></tr></table><hr/></div><dt><a id="C-Programmers-Disease"/><dt xmlns="" id="C-Programmers-Disease"><b>C Programmer's Disease</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> The tendency of the undisciplined C programmer to set arbitrary but
|
||
supposedly generous static limits on table sizes (defined, if you're lucky,
|
||
by constants in header files) rather than taking the trouble to do proper
|
||
dynamic storage allocation. If an application user later needs to put 68
|
||
elements into a table of size 50, the afflicted programmer reasons that he
|
||
or she can easily reset the table size to 68 (or even as much as 70, to
|
||
allow for future expansion) and recompile. This gives the programmer the
|
||
comfortable feeling of having made the effort to satisfy the user's
|
||
(unreasonable) demands, and often affords the user multiple opportunities
|
||
to explore the marvelous consequences of
|
||
<a href="../F/fandango-on-core.html"><i class="glossterm">fandango on core</i></a>. In severe cases of the disease, the programmer cannot
|
||
comprehend why each fix of this kind seems only to further disgruntle the
|
||
user.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="C.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../C.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="C-ampersand-C.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">C </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> C&C</td></tr></table></div></body></html>
|