Skip to content

abbrcode/abbreviations-in-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Abbreviations in code

Giving good names to variables, functions and files 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 β€’ Licence

Discussions β€’ Website β€’ AbbrExt

Guide

Colored circles before the abbr mean the degree of recommendation:

  • 🟒 Recommended
  • 🟑 Context-sensitive β€’ Context is specified between { }
  • πŸ”΄ Not recommended

Translations

it

List

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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
  • arccosecant β€’ 🟒 acosec
  • arccosine β€’ 🟒 acos
  • arccotangent β€’ 🟒 acot β€’ 🟒 actg
  • arcsecant β€’ 🟒 asec
  • arcsine β€’ 🟒 asin
  • arctangent β€’ 🟒 atan
  • 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
  • container β€’ 🟒 cntr
  • context β€’ 🟒 ctx
  • continue β€’ 🟒 cont
  • control β€’ 🟒 ctrl
  • conversation β€’ 🟒 conv
  • coordinate β€’ 🟒 coord
  • copy β€’ πŸ”΄ cpy
  • cosecant β€’ 🟒 cosec
  • cosine β€’ 🟒 cos
  • cotangent β€’ 🟒 cot β€’ 🟒 ctg
  • count β€’ 🟒 cnt
  • current β€’ πŸ”΄ cur β€’ 🟒 curr

D

  • database β€’ 🟒 db
  • debug β€’ 🟒 dbg
  • decimal β€’ 🟒 dec
  • declaration β€’ 🟒 decl
  • decrease β€’ 🟑 dec { loops }
  • default β€’ πŸ”΄ def
  • definition β€’ 🟒 def
  • degrees β€’ 🟒 deg
  • 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
  • dynamic β€’ 🟒 dyn

E

  • element β€’ 🟒 elm
  • enable β€’ 🟒 en
  • environment β€’ 🟒 env
  • equal β€’ 🟑 eq { binary operations }
  • error β€’ 🟒 err
  • event β€’ 🟒 e β€’ 🟒 evt
  • execution β€’ 🟒 exe
  • exponential β€’ 🟒 exp
  • expression β€’ 🟒 expr
  • extension β€’ 🟒 ext

F

  • facet β€’ 🟒 fct
  • factory β€’ 🟒 fac
  • figure β€’ 🟒 fig
  • file chooser β€’ 🟒 fc
  • file descriptor β€’ 🟒 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
  • geometry β€’ 🟒 geom
  • 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
  • inverse β€’ 🟒 inv
  • iterator β€’ 🟑 iter { loops }

J

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
  • matrix β€’ 🟑 mat { mathematics } β€’ 🟑 mtx { mathematics }
  • 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 y }
  • node β€’ 🟑 $... { DOM }
  • not equal β€’ 🟑 ne { binary operators }
  • number β€’ 🟒 num
  • number of β€’ 🟒 num

O

  • object β€’ 🟒 obj
  • object key β€’ 🟑 key { only with val }
  • octal β€’ 🟒 oct
  • open source β€’ πŸ”΄ os
  • open source software β€’ 🟒 oss
  • 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
  • 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

  • radians β€’ 🟒 rad
  • 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
  • secant β€’ 🟒 sec
  • selection β€’ 🟒 sel
  • semaphore β€’ 🟑 sem { conditional operators }
  • separator β€’ 🟒 sep
  • sequence β€’ 🟒 seq
  • service β€’ 🟒 svc
  • 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
  • tangent β€’ 🟒 tan
  • target β€’ πŸ”΄ tgt
  • temporary β€’ 🟒 tmp β€’ 🟒 temp
  • text β€’ πŸ”΄ txt
  • time β€’ 🟑 t { physics }
  • timer β€’ 🟒 tmr
  • timestamp β€’ 🟒 ts
  • to β€’ πŸ”΄ 2
  • toggle β€’ πŸ”΄ tgl
  • transaction β€’ 🟒 tx
  • type β€’ 🟑 t { modifiers } β€’ πŸ”΄ tpe

U

  • user β€’ 🟑 u { URLs } β€’ πŸ”΄ usr
  • utility β€’ 🟒 util

V

  • value β€’ 🟑 v { only with k } β€’ 🟒 val
  • variable β€’ 🟒 var
  • vector β€’ 🟑 v { physics } β€’ 🟒 vec
  • 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

279 abbrs in the list


Go up to list index