Code Monkey home page Code Monkey logo

-'s Introduction

简体中文 README

Synopsis

This project aims to list common identifier abbreviations to help coders write concise and easy to read code.

The identifier is arranged in multiple files with the first letter, but some similar words will be filed in independent files, for instance the abbreviations of object type in file "object_type.toml".

# This is a TOML document
[object_type]
b = ["bool"]
by = ["byte"]
c = ["char"]
s = ["string"]
f32 = ["float32"]
f64 = ["float64"]
i = ["int"]
i8 = ["int8"]
i16 = ["int16"]
i32 = ["int32"]
i64 = ["int64"]
u = ["uint"]
u8 = ["uint8"]		
u16 = ["uint16"]	
u32 = ["uint32"]		
u64 = ["uint64"]		
st = ["struct"]		
cl = ["class"]		
con = ["const"]		
ch = ["chan"]
ifc = ["interface"]
m = ["map"]	
func = ["function"]	
arr = ["array"]
v = ["vector"]
p = ["pointer"]
j = ["json"]
q = ["queue"]
stk = ["stack"]
o = ["object"]
sl = ["slice"]

You may find the file format type is TOML. The purpose of this is to facilitate the quick translation of the above abbreviations into data structures in a wide variety of languages in the future if needed.

If you want to check your writing for toml compliance, you can use online tools https://toml-parser.com.

Common Abbreviation Rules

Common word abbreviation rules are as follows:

  • The first few or some letters of a word, such as addr (address) and asm (assembly);
  • Word syllable initials splicing, such as msg (message);
  • Multiple word initials splicing, such as NASA (National Aeronautics and Space Administration);
  • Remove the vowels aeiou and keep the consonants, such ad JPN (Japan), CHN (China) and ft (foot);
  • A common abbreviation, such as thx (thanks).

Get Involved

Documentation, bug reports, pull requests, and all other contributions are welcome!

References

Some abbreviations refer to the website ABBREVIATIONS.

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.