Giter VIP home page Giter VIP logo

abbreviations-in-code's Introduction

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).

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
  • 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
  • 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

263 abbrs in the list


Go up to list index

abbreviations-in-code's People

Contributors

cfjello avatar chriscalo avatar emareg avatar firemanarg avatar h-h-h-h avatar kisvegabor avatar oood avatar philipeachille avatar ramesh-x avatar shafu0x avatar stevencychuang avatar t1xx1 avatar yan-kuan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.