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

12 lines
2.3 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>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> </td><th width="60%" align="center">P</th><td width="20%" align="right"> <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> </td><td width="20%" align="center"><a accesskey="u" href="../P.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pastie.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Pascal </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> pastie</td></tr></table></div></body></html>