Skip to content

monkindey/awesome-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Awesome Name Awesome

中文文档

Why

  1. How to name the variable is a headache thing, not only the semantic and simple, but also universal. After all, just for the maintainability. So I want to record the name frequently used.

  2. More for the easily name and code efficiently. Little by little we can enjoy our code, because your code can make another sense to others, afford for thought. Such as:

    • Promise: I didn't know Why the JavaScript's Asynchronous Programming Standard was called Promise. But when i thought it in deepth, i got it. When we fetch some data from the server, we didn't kown whether the response or not. What the Promise meaning is you have my word, i will promise to give your response, whether success or failure.

    • on and off in JQuery: simple, easy and visual.

    • fork: you can use fork to select what your favorite food and eat at your disposal

Abbreviation

How

  1. Grab some letters in front of the words: min sec tel
  2. Remove the vowel and keep the consonant: msg src mgr
  3. Use the homophonic letter to replace: 4 2 r
  4. Reference to HTML tagzepto jquery and other library、linux command
  5. Other: tj countries many countries

Examples

Examples about abbr

Prefix

Examples about prefix

Postfix

Examples about postfix

Layout

Examples about layout

Module

Examples about module

Contribute

Enjoy the code

Reference

UI组件规范

About

A curated list of variable name

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published