Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Type and method names are usually not abbreviated (except for the well-accepted abbreviations such as EOFImplFifo, etc.). 

Abbreviation applies to local variables, method parameters, class fields and in some cases public static fileds (constants) of the class.

Variable name should be abbreviated using table below containing mapping between longer name and its short form.

RULE 1 
The variable name should be as short as possible yet to be descriptive enough in a given context.

...

Plugin can be downloaded from wiki: ignite-abbrev-plugin-3.0.1.jar

Source code of plugin can be found at GitHub ignite-abbrev-plugin

...

In some rare cases one-letter names can be augmented by number like in common nested catch clause example: e, e1, e2.

Widely used names in the project including specific domain area terms are summarised in the table below. It is required to use abbreviated form for code consistency.

Name

Abbreviation

addressaddr
administrationaffinityadminaff
argumentarg
arrayarr

attachment

attach

attribute(s)attr(s)

attributes

attrs
bufferbuf

certificate

cert

callable

call, c

char

c

channel

ch; DO NOT USE chnl
classclsclosure

c, clo, f (from function)

collection

col, c

commandcmd

communication

comm

comparator

comp

condition

cond

configcfg
contextctx

control

ctrl

coordinator

crd

copy

cp

counter

cntr

countcnt
currentcurr, cur
databasedbdeclar{e|ation}

decl

defaultdflt

delete

del

delimiter

delim

description

desc

descriptor

descr
destinationdest
directorydir
eventevt
exceptione, e2, ex
executeexec

expected

exp

externalizable

ext

frequencyfreq
futurefut
groupgrp
handlerhnd
headerhdr
implementationimpl
indexidx
initial(ize)init

int

i

interface

itf
iteratoriter

listener

lsnr

lablelabellbl

license

lic
localloc

locale

loc

loggerlog
loaderldr
managermgr
messagemsg

method

mtd

microkernel

mk

milliseconds

ms

multicast

mcast
mutexmux
networknetnumber

n, num

objectobj
packagepkg
parameterparampermission(s)

perm(s)

passwordpwd

pattern

ptrn

policyplc

predicate

pred

priority

pri

projection(s)

prj(s)

property(ies)prop(s)

protocol

proto
process, processorproc
queryqry
receivercvrecipient

rcpt

referenceref
regular expressionregex

remove,removed

rmv

rename

ren
repositoryrepo
requestreq
resourcersrc
responseres
return valueretvalretVal
send, sendersnd

serializable

ser

servicesrvc
sessionses
sequenceseqsibling

sib

sizesz
socketsock
sourcesrc

specification

spec

strategy

stgy

strings, str
subjectsubj
systemsys

table

tbl

taxonomy

tax

timestamp

ts

topologytop

token

tok

topology versiontopVer

unicast

ucast
valueval
versionver

windows

win