JargonFile/original/html/C/camelCase.html
2014-03-27 18:54:56 +00:00

13 lines
2.4 KiB
HTML
Raw Permalink 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>camelCase</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="Camel-Book.html" title="Camel Book"/><link rel="next" href="camelCasing.html" title="camelCasing"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">camelCase</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Camel-Book.html">Prev</a> </td><th width="60%" align="center">C</th><td width="20%" align="right"> <a accesskey="n" href="camelCasing.html">Next</a></td></tr></table><hr/></div><dt><a id="camelCase"/><dt xmlns="" id="camelCase"><b>camelCase</b></dt></dt><dd><p>A variable in a programming language is sait to be camelCased when
all words but the first are capitalized. This practice contrasts with the
C tradition of either running syllables together or marking syllable breaks
with underscores; thus, where a C programmer would write
<span class="symbol">thisverylongname</span> or <span class="symbol">this_very_long_name</span>,
the camelCased version would be <span class="symbol">thisVeryLongName</span>. This
practice is common in certain language communities (formerly Pascal; today
Java and Visual Basic) and tends to be associated with object-oriented
programming.</p><p>Compare <a href="../B/BiCapitalization.html"><i class="glossterm">BiCapitalization</i></a>; but where that
practice is primarily associated with marketing, camelCasing is not aimed
at impressing anybody, and hackers consider it respectable.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Camel-Book.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="camelCasing.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Camel Book </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> camelCasing</td></tr></table></div></body></html>