Naming conventions

This document summarizes naming conventions and best practices in programming.

Complements / opposites

References
addremove[1] [2] [3] [4] [5]
beginend[1] [2] [3] [4] [5]
createdestroy[1] [2] [3] [4] [5]
firstlast[1] [2] [3] [4] [5]
incrementdecrement[1] [2] [3] [4] [5]
nextprevious[1] [2] [3] [4] [5]
oldnew[1] [2] [3] [4] [5]
openclose[1] [2] [3] [4] [5]
startstop[1] [2] [3] [4] [5]
updown[1] [2] [3] [4] [5]
insertdelete[1] [3] [4] [5]
showhide[1] [3] [4] [5]
suspendresume[2] [3] [4] [5]
getset[2] [3] [5]
putget[1] [2]
minmax[2] [3]
minimummaximum[1] [5]
lockunlock[1] [5]
getrelease[1]
sourcedestination[1]
sourcetarget[1]
insertdelete[2]
initcleanup[4]
acquirerelease[5]
advanceretreat[5]
allocatedeallocate[5]
allowdeny[5]
assembledisassemble[5]
assigndeassign[5]
associatedissociate[5]
attachdetach[5]
bindunbind[5]
commitrollback[5]
compiledecompile[5]
compressdecompress[5]
connectdisconnect[5]
constructdestruct[5]
doundo[5]
enabledisable[5]
encodedecode[5]
encryptdecrypt[5]
enqueuedequeue[5]
enterleave[5]
enterexit[5]
expandcollapse[5]
expandcontract[5]
freezeunfreeze[5]
frontback[5]
grantrevoke[5]
headtail[5]
importexport[5]
includeexclude[5]
increasedecrease[5]
indentdedent[5]
inflatedeflate[5]
injecteject[5]
inputoutput[5]
installuninstall[5]
linkunlink[5]
loadunload[5]
composeparse[5]
pastecut[5]
pushpop[5]
pushpull[5]
raiselower[5]
readwrite[5]
referencedereference[5]
referenceunreference[5]
registerderegister[5]
selectdeselect[5]
sendreceive[5]
serializedeserialize[5]
setunset[5]
setclear[5]
set uptear down[5]
start upshut down[5]
start upclean up[5]
upperlower[5]
successfailure[5]
resolvereject[5]

  1. Naming guidelines for professional programmers ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  2. MATLAB Programming Style Guide ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  3. Java Programming Style Guidelines ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  4. CPP Coding Style ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  5. Antonym List ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎