Files
JargonFile/original/html/P/PascalCasing.html

12 lines
2.3 KiB
HTML
Raw Normal View History

2014-03-27 18:54:56 +00:00
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>PascalCasing</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="Pascal.html" title="Pascal"/><link rel="next" href="pastie.html" title="pastie"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">PascalCasing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Pascal.html">Prev</a><EFBFBD></td><th width="60%" align="center">P</th><td width="20%" align="right"><EFBFBD><a accesskey="n" href="pastie.html">Next</a></td></tr></table><hr/></div><dt><a id="PascalCasing"/><dt xmlns="" id="PascalCasing"><b>PascalCasing</b></dt></dt><dd><p>The practice of marking all word boundaries in long identifiers (such
as <span class="symbol">ThisIsASampleVariable</span>) (including the first letter of
the identifier) with uppercase. Constrasts with <span class="firstterm">camelCasing</span>, in which the first character of
the identifier is left in lowercase
(<span class="symbol">thisIsASampleVariable</span>), and with the traditional C style
of short all-lower-case names with internal word breaks marked by an
underscore (<span class="symbol">sample_var</span>).</p><p>Where these terms are used, they usually go with advice to use
PascalCasing for public interfaces and camelCasing for private ones. They
may have originated at Microsoft, but are in more general use in ECMA
standards, among Java programmers, and elsewhere.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Pascal.html">Prev</a><EFBFBD></td><td width="20%" align="center"><a accesskey="u" href="../P.html">Up</a></td><td width="40%" align="right"><EFBFBD><a accesskey="n" href="pastie.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Pascal<EFBFBD></td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"><EFBFBD>pastie</td></tr></table></div></body></html>