• Stars
    star
    176
  • Rank 209,119 (Top 5 %)
  • Language
    Perl
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

List of common abbreviation in program codes

Abbreviations in code

Giving good names to variables, functions, files etc. can be difficult. Long names are always clear, but take time to read, space and are hard to remember. Choosing a shorter form is better. If you use the abbreviations below, your naming will become more coherent, logical and understandable to other programmers (even newbies).

Contributing • Discussions • Licence

Guide

Colored circles before the abbr mean the degree of recommendation:

  • 🟢 Recommended
  • 🟡 Context-sensitive • Context is specified between { }.
  • 🔴 Not recommended

List

Symbols

Numbers

A

  • abbreviation • 🟢 abbr
  • absolute • 🟢 abs
  • acronym • 🟢 acro
  • action • 🔴 act
  • active • 🔴 act
  • actual • 🔴 act
  • addition • 🟢 sum
  • address • 🟢 addr
  • algorithm • 🟢 algo
  • allocation • 🟡 alloc { memory }
  • alternative • 🟢 alt
  • annotation • 🟢 anno
  • application • 🟢 app
  • argument • 🟢 arg
  • array • 🟢 arr
  • asynchronous • 🟢 async
  • attribute • 🟢 attr
  • authentication • 🟢 auth
  • auxiliary • 🟢 aux
  • average • 🟢 avg

B

  • background • 🟢 bg
  • battery • 🟡 bat { power }
  • binary • 🟢 bin
  • boolean • 🟢 bool
  • break • 🔴 brk
  • breakline • 🟡 bl { encoding }
  • buffer • 🔴 buf • 🟢 buff
  • button • 🟢 btn

C

  • calculator • 🟢 calc
  • callback • 🟢 cb
  • certificate • 🟢 cert
  • channel • 🟡 ch { connections }
  • character • 🟢 char
  • check • 🟢 chk
  • checksum • 🟡 csum { operations }
  • circle • 🟡 circ { shapes }
  • class • 🔴 cls
  • clear • 🟢 clr
  • collection • 🟢 coll
  • column • 🟢 col
  • command • 🟢 cmd
  • commercial • 🟡 com { URLs }
  • common • 🔴 com • 🔴 comm
  • communication • 🟢 com
  • comparison • 🟡 cmp { conditional operators }
  • component • 🟢 comp
  • concatenation • 🟢 concat
  • condition • 🟢 cond
  • configuration • 🔴 cfg • 🔴 conf • 🟢 config
  • connection • 🔴 con • 🟢 conn
  • constant • 🟢 const
  • context • 🟢 ctx
  • continue • 🟢 cont
  • control • 🟢 ctrl
  • conversation • 🟢 conv
  • coordinate • 🟢 coord
  • copy • 🔴 cpy
  • cosine • 🟢 cos
  • cotangent • 🟢 cot
  • count • 🟢 cnt
  • current • 🔴 cur • 🟢 curr

D

  • database • 🟢 db
  • debug • 🟢 dbg
  • decimal • 🟢 dec
  • declaration • 🟢 decl
  • decrease • 🟡 dec { loops }
  • default • 🔴 def
  • definition • 🟢 def
  • deletion • 🟢 del
  • delta time • 🟡 dt { calculations }
  • dependency • 🟢 dep
  • description • 🟢 desc
  • destination • 🟢 dest
  • developer • 🟢 dev
  • development • 🟢 dev
  • device • 🟡 dev { devices }
  • difference • 🟡 diff { operations }
  • dimension • 🟢 dim
  • direction • 🟢 dir
  • directory • 🟢 dir
  • disable • 🟢 dis
  • display • 🟢 disp
  • division • 🟢 div
  • document • 🟢 doc
  • documentation • 🟢 docs
  • driver • 🟢 drv
  • driver • 🟢 drv
  • dynamic • 🟢 dyn

E

  • element • 🟢 elm
  • enable • 🟢 en
  • environment • 🟢 env
  • equal • 🟡 eq { binary operations }
  • error • 🟢 err
  • event • 🟢 e • 🟢 evt
  • execution • 🟢 exe
  • expression • 🟢 expr
  • extension • 🟢 ext

F

  • facet • 🟢 fct
  • factory • 🟢 fac
  • figure • 🟢 fig
  • file chooser • 🟢 fc
  • file description • 🟢 fd
  • file processor • 🟢 fp
  • file reader • 🟢 fr
  • file system • 🟢 fs
  • file writer • 🟢 fw
  • for example • 🟢 e.g.
  • format • 🟢 fmt
  • fraction • 🟢 frac
  • frequence • 🟢 freq
  • function • 🔴 f • 🔴 fn • 🟢 func
  • function pointer • 🟢 fp

G

  • generation • 🟢 gen
  • greater or equal • 🟡 ge { binary operations }
  • greater than • 🟡 gt { binary operations }

H

  • hardware • 🟡 hw { computer science }
  • header • 🔴 hdr
  • height • 🟡 h { shapes }
  • hexadecimal • 🟢 hex
  • horizontal • 🟡 hor { shapes }

I

  • identifier • 🟢 id
  • image • 🟢 img
  • implementation • 🟢 impl
  • import • 🟢 imp
  • inclusion • 🟢 inc
  • increase • 🟡 inc { loops }
  • index • 🟢 idx
  • information • 🟢 info
  • initialization • 🟢 init
  • input • 🟢 in
  • insertion • 🟢 ins
  • instance • 🟢 inst
  • integer • 🟢 int
  • interface • 🟢 iface • 🔴 intf
  • iterator • 🟡 iter { loops }

J

  • javascript • 🟢 js

K

  • key • 🟡 k { only with val }
  • keymap • 🟢 km
  • keyword • 🟢 kwd

L

  • language • 🟢 lang
  • latitude • 🟡 lat { only with coord }
  • length • 🟢 len
  • less or equal • 🟡 le { binary operators }
  • less than • 🟡 lt { binary operators }
  • level • 🟢 lvl
  • library • 🟢 lib
  • link • 🔴 lnk
  • linked list • 🟢 ll
  • location • 🟢 loc
  • longitude • 🟡 lon { only with coord }

M

  • manager • 🟢 mng
  • maximum • 🟢 max
  • memory • 🟢 mem
  • message • 🟢 msg
  • metadata • 🟡 meta { data science }
  • microcontroller • 🟢 mcu
  • middle • 🟢 mid
  • minimum • 🟢 min
  • miscellaneous • 🟢 misc
  • modulo • 🟢 mod
  • multiplication • 🟢 mul
  • mutable • 🟡 mut { variables }

N

  • navigation • 🟢 nav
  • network • 🟢 net
  • newline • 🟡 nl { endcoding }
  • no • 🟡 n { only with yes }
  • node • 🟡 $... { DOM }
  • not equal • 🟡 ne { binary operators }
  • number • 🟢 num
  • number of • 🟢 num

O

  • object • 🟢 obj
  • object key • 🟡 key { only with val }
  • octal • 🟢 oct
  • operating system • 🟢 os
  • operation • 🟡 op { binary operations }
  • option • 🟢 opt
  • order • 🟡 ord { data science }
  • organization • 🟢 org
  • origin • 🟢 orig
  • output • 🟢 out

P

  • package • 🟢 pkg
  • parameter • 🟢 param
  • performance • 🟢 perf
  • picture • 🟢 pic
  • pixel • 🟢 px
  • pixel • 🟢 px
  • pointer • 🟡 p { memory } • 🟢 ptr
  • poligon • 🟢 pol
  • position • 🟢 pos
  • power • 🟡 pwr { energy }
  • predication • 🟢 pred
  • prediction • 🟢 pred
  • preference • 🟢 pref
  • previous • 🟢 prev
  • private • 🟢 priv
  • process • 🟡 proc { threads }
  • production • 🟢 prod
  • profiler • 🟢 prof
  • public • 🟢 pub

Q

  • query • 🟢 q • 🔴 qry

R

  • radius • 🟡 r { circles }
  • random • 🟢 rand • 🔴 rnd
  • range • 🟢 rng
  • receive • 🟢 recv
  • record • 🟢 rec
  • rectangle • 🟡 rect { shapes }
  • reference • 🟢 ref
  • regular expression • 🟢 regex • 🔴 rgx
  • relation • 🟢 rel
  • remote • 🟢 rem
  • remove • 🟢 rm • 🟢 rmv
  • repository • 🟢 repo
  • request • 🟢 req
  • response • 🟢 res
  • result • 🟢 res
  • return • 🟢 ret
  • revision • 🟢 rev

S

  • script • 🔴 sc
  • selection • 🟢 sel
  • semaphore • 🟡 sem { conditional operators }
  • separator • 🟢 sep
  • sequence • 🟢 seq
  • session • 🟢 sess
  • signed as prefix • 🟡 s { modifiers }
  • sine • 🟢 sin
  • software • 🟡 sw { computer science }
  • solution • 🔴 sln • 🟢 sol
  • solver • 🟢 sol
  • source • 🟢 src
  • specification • 🟢 spec
  • square root • 🟢 sqrt
  • standard • 🟢 std
  • standard input output • 🟢 stdio
  • statement • 🟢 stmt
  • statistic • 🟢 stat
  • string • 🟢 str
  • subtration • 🟢 sub
  • synchronization • 🟢 sync

T

  • table data • 🟢 td
  • table header • 🟢 th
  • table row • 🟢 tr
  • target • 🔴 tgt
  • temperature • 🟢 tmp
  • temporary • 🟢 temp
  • text • 🔴 txt
  • time • 🟡 t { physics }
  • timer • 🟢 tmr
  • timestamp • 🟢 ts
  • to • 🔴 2
  • toggle • 🔴 tgl
  • transaction • 🟢 tx
  • type • 🟡 t { modifiers } • 🔴 tpe
  • typescript • 🟢 ts

U

  • user • 🟡 u { URLs } • 🔴 usr
  • utility • 🟢 util

V

  • value • 🟡 v { only with k } • 🟢 val
  • variable • 🟢 var
  • vector • 🟡 v { physics }
  • version • 🟢 v • 🔴 ver
  • vertical • 🟢 ver

W

  • white space • 🟡 ws { encoding }
  • width • 🟡 w { shapes }
  • window • 🟢 win
  • wizard • 🟢 wiz

X

Y

  • yes • 🟡 y { only with n }

Z

265 abbrs in the list


Go up to list index