• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    Perl
  • License
    MIT License
  • Created about 7 years ago
  • Updated almost 2 years 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