All Projects → kisvegabor → abbreviations-in-code

kisvegabor / abbreviations-in-code

Licence: MIT license
List of common abbreviation in program codes

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to abbreviations-in-code

Naming Cheatsheet
Comprehensive language-agnostic guidelines on variables naming. Home of the A/HC/LC pattern.
Stars: ✭ 9,475 (+5712.88%)
Mutual labels:  naming, naming-conventions, cheatsheet
Apex-Code-Conventions
Apex conventions and best practices for Salesforce Developers
Stars: ✭ 28 (-82.82%)
Mutual labels:  naming, naming-conventions
android-convention-cheatsheet
Android Naming Convention Cheat Sheet
Stars: ✭ 52 (-68.1%)
Mutual labels:  naming, cheatsheet
VF-BlenderAutoSaveRender
Automatically saves a numbered or dated image after every render and can extend the Blender output path with dynamic variables
Stars: ✭ 34 (-79.14%)
Mutual labels:  naming, naming-conventions
cheat-sheets
Cheat sheets to help you in daily hands-on tasks of trouble shooting, configuration, and diagnostics with Fortinet, HP/Aruba, Cisco, Checkpoint and others' gear.
Stars: ✭ 63 (-61.35%)
Mutual labels:  cheatsheet
tidal-cheat-sheet
A cheat sheet for Tidal, a language for live coding patterns
Stars: ✭ 38 (-76.69%)
Mutual labels:  cheatsheet
gdb-cheatsheet
GDB cheatsheet for reversing binaries
Stars: ✭ 20 (-87.73%)
Mutual labels:  cheatsheet
Nextflow cheatsheet
Tips for Nextflow and cheatsheet for channel operation
Stars: ✭ 38 (-76.69%)
Mutual labels:  cheatsheet
linux-cheatsheet
This is Day to Day Work Linux Cheatsheet for Software Engineers.
Stars: ✭ 26 (-84.05%)
Mutual labels:  cheatsheet
selenium-cheatsheet-java
A comprehensive list of selenium commands in Java
Stars: ✭ 20 (-87.73%)
Mutual labels:  cheatsheet
typescript-cheatsheet
Cheatsheet for TypeScript.
Stars: ✭ 28 (-82.82%)
Mutual labels:  cheatsheet
security-cheat-sheet
Minimalist cheat sheet for developpers to write secure code
Stars: ✭ 47 (-71.17%)
Mutual labels:  cheatsheet
Arduino-Cheat-Sheet
A cheat sheet for Arduino programming.
Stars: ✭ 120 (-26.38%)
Mutual labels:  cheatsheet
styleguide
Official code style guide of Banksalad
Stars: ✭ 91 (-44.17%)
Mutual labels:  naming-conventions
cheatsheet-golang-A4
📖 Advanced Golang Syntax In A4
Stars: ✭ 50 (-69.33%)
Mutual labels:  cheatsheet
CoqCheatSheet
Reference sheet for the Coq language.
Stars: ✭ 15 (-90.8%)
Mutual labels:  cheatsheet
namebot
A company/project name generator for Python. Uses NLTK and diverse techniques derived from existing corporate etymologies and naming agencies for sophisticated word generation and ideation.
Stars: ✭ 44 (-73.01%)
Mutual labels:  naming
cheatsheet-generator
Generates cheatsheets for your (favourite) apps
Stars: ✭ 49 (-69.94%)
Mutual labels:  cheatsheet
tldr
Simplified and community-driven man pages (tldr-pages) in a single binary.
Stars: ✭ 33 (-79.75%)
Mutual labels:  cheatsheet
MySQL-cheatsheet
Cheatsheet for MySQL
Stars: ✭ 43 (-73.62%)
Mutual labels:  cheatsheet

Abbreviations in code

The list of the abbreviations you can find and use in software environments.

Index

A good abbreviation is:

  • global • understood by everyone
  • significant • seen for the first time you still know what it means
  • absolute • not related to the context
  • short • taking out one letter is not an abbreviation

Goal

Give good names to variables, functions, classes, files can be difficult. Long names are always clear, but need time to read, take up space and are hard to remember. Choose a shorter form is better.

If you will use the abbreviations below your naming will become more coherent, logical and understandable to other (even newbies) programmers.

Guide

Abbreviations are in key value format. Multiple choices are sorted from the most used one. Dots specify how much recommended is it.

  • 🟢 Recommended
  • 🟡 Context sensitive
  • 🔴 Not recommended

You can consider using the not recommended ones. The most important thing is to remain consistent in your code.

List

Numbers

  • 🔴 2 • to

A

  • 🟢 abbr • abbreviation
  • 🟢 abs • absolute number
  • 🔴 act • action / active / actual
  • 🟢 addr • address
  • 🟡 alloc • allocate {memory}
  • 🟢 alt • alternative / alternate
  • 🟢 app • application
  • 🟡 arg • argument {memory}
  • 🟢 arr • array
  • 🟢 async • asynchronous
  • 🟢 attr • attribute
  • 🟢 auth • authentication / authenticate
  • 🟢 avg • average

B

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

C

  • 🟢 calc • calculate / calculator
  • 🟢 cb • callback
  • 🟢 cert • certificate
  • 🟡 ch • channel {connection}
  • 🟢 chk • check
  • 🟢 char • character
  • 🟡 circ • circle {shape}
  • 🟢 clr • clear
  • 🟢 cmd • command
  • 🟡 cmp • compare {conditional operator}
  • 🟢 cnt • counter
  • 🟢 concat • concatenate
  • 🟢 conf / config • configuration
  • 🟢 conn • connection {connection}
  • 🟢 cont • continue
  • 🟢 conv • conversation
  • 🟢 col • column
  • 🟢 coll • collection
  • 🔴 com • commercial / common / communication
  • 🟢 coord • coordinate
  • 🟢 cos • cosine
  • 🟢 cot • cotangent
  • 🟡 csum • checksum {operation}
  • 🟢 ctrl • control
  • 🟢 ctx • context
  • 🟢 cur / curr • current
  • 🔴 cpy • copy

D

  • 🟢 db • databasa
  • 🟢 dbg • debug
  • 🟢 dec • decimal / decrease
  • 🟢 def • default / define
  • 🟢 del • delete
  • 🟢 dest • destination
  • 🟢 dev • development / device / developer
  • 🟡 diff • difference {operation}
  • 🟢 dir • directory / direction
  • 🟢 dis • disable
  • 🟢 disp • display
  • 🟢 doc • document
  • 🟢 drv • driver
  • 🟢 dsc • descriptor
  • 🟡 dt • delta time {calculation}
  • 🟢 dyn • dynamic

E

  • 🟢 e • event
  • 🟢 e.g. • example
  • 🟢 en • enable
  • 🟢 env • environment
  • 🟡 eq • equal {binary operation}
  • 🟢 err • error
  • 🟢 exe • executable
  • 🟢 expr • expression
  • 🟢 ext • extension
  • 🟢 etc • etcetera

F

  • 🟢 f / func • function
  • 🟢 fac • factory
  • 🟢 fd • file descriptor
  • 🟢 fig • figure
  • 🟢 fmt • format
  • 🟢 fp • function pointer

G

  • 🟡 ge • greater or equal {binary operation}
  • 🟢 gen • generate
  • 🟡 gt • greater than {binary operation}

H

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

I

  • 🟢 id • identifier
  • 🟢 idx • index
  • 🟢 iface • interface
  • 🟢 img • image
  • 🟢 in • input
  • 🟢 inc • include / increase
  • 🟢 info • information
  • 🟢 init • initialize
  • 🟢 ins • insert
  • 🟢 intf • interface
  • 🟢 int • integer
  • 🟢 iter • iterator

J

  • 🟢 js • javascript

K

  • 🟡 key • object key {only with val}

L

  • 🟢 lang • language
  • 🟡 lat • latitude {only with coord}
  • 🟢 lib • library
  • 🟡 le • less or equal {binary operator}
  • 🟢 len • length
  • 🟢 ll • linked list
  • 🟡 lon • longitude {only with coord}
  • 🟡 lt • less than {binary operators}

M

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

N

  • 🔴 n • no {only with yes}
  • 🟢 nav • navigation
  • 🟡 ne • not equal {binary operator}
  • 🟢 net • network
  • 🟡 nl • newline {endcoding}
  • 🟢 num • number

O

  • 🟢 obj • object
  • 🔴 ord • order {data science}
  • 🟡 op • operation {binary operation}
  • 🟢 opt • option / optional
  • 🟢 os • operating system
  • 🟢 out • output

P

  • 🟡 p • pointer {memory}
  • 🟢 param • parameter
  • 🟢 perf • performance
  • 🟢 pic • picture
  • 🟢 pos • position
  • 🟢 pred • prediction
  • 🟢 pref • preference
  • 🟢 prev • previous
  • 🟡 proc • process {thread}
  • 🟢 prod • production
  • 🟢 prof • profiler
  • 🟢 ptr • pointer
  • 🟢 pr • pull request
  • 🟡 pwr • power {energy}
  • 🟢 px • pixel

Q

  • 🟢 q / qry • query

R

  • 🟡 r • radius {circle / shape}
  • 🟢 rand • random
  • 🟢 rec • record
  • 🟡 rect • rectangle {shape}
  • 🟢 recv • receive
  • 🟢 ref • reference
  • 🟢 regex / rgx • regular expression
  • 🟢 rem • remove
  • 🟢 repo • repository
  • 🟢 req • required / requested
  • 🟢 res • response / result
  • 🟢 ret • return
  • 🟢 rev • revision
  • 🟢 rng • range

S

  • 🟡 s • signed as prefix {modifier}
  • 🟡 sem • semaphore {conditional operator}
  • 🟢 sel • selected / selection
  • 🟢 sin • sine
  • 🟢 seq • sequence
  • 🟢 sqrt • square root
  • 🟢 src • source
  • 🟡 sw • software {computer science}
  • 🟢 stat • statistic
  • 🟢 std • standard
  • 🟢 str • string
  • 🟢 sum • addition
  • 🟢 sync • synchronize

T

  • 🟡 t • time / type (e.g. uint8_t) {type modifier}
  • 🟢 temp • temperature
  • 🟢 temp / tmp • temporary
  • 🔴 tgl • toggle
  • 🟢 tmr • timer
  • 🟢 ts • timestamp
  • 🔴 txt • text

U

  • 🟡 u • user {URLs}
  • 🔴 usr • user

V

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

W

  • 🟡 w • width {shape}
  • 🟢 win • window
  • 🟡 ws • white space {encoding}

X

Y

  • 🟡 y • yes {only with n}

Z

Symbols

  • 🟡 $... • node ($btn) {jQuery selector / DOM}

Go to index

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].