BEM is a shorthand for block (block), element, and modifier (modifier), which is a very useful naming convention. To make your front-end code easier to understand and tight, let's take a look at what the BEM naming convention is all about.
1 What is the BEM naming
inheriting class needs to access the variable directly to get the data, then use the @protected instruction3. If a variable is accessible. Make sure you write the variable access method. (if possible, define properties, @property will automatically generate getter setter methods)L ConstantsA constant's naming convention usually depends on how the constant is created.Constants for enumeration typesAn enumer
The naming convention I use is Google's specification, and the following is excerpted from the Google CPP style guide.The most important consistency rule is named management, and the naming style directly determines that named entities are: types, variables, functions, constants, macros, and so on, without looking up entity declarations, and the pattern matching
Good naming rules can contribute to the Cooperative Development of teams, and play a crucial role in both project development and product maintenance. It should be said that naming conventions are a convention and a bridge of good communication between programmers. In addition, the ancients believed that as long as they knew the real name of a person, they would
Before any project or system development, you need to customize a development convention and rules, which is conducive to unified overall style of the project, code maintenance and expansion. As Web project development is decentralized, independent, and interactive, it is particularly important to customize a set of complete conventions and rules. Based on the current Guangdong talent network New Version scheme has been fully started, in order to bett
:"file name to all lowercase, can contain an underscore (_) or hyphen (- ). According to the project contract, for example: Cmd_save_player_info "I like the naming rules of the underlined way, and we should prevent the conflict with the function names in the standard library when naming them.2. Class naming rulesClass is a user-defined data type, the rules that G
When you first start learning about rails, you might be confused about how to automatically handle naming in rails, such as how to find a table named people in the database based on a model named person, and this time we'll look at the naming conventions in rails.
1. Mixed case, underline, plural
We often use abbreviated named variables, in Ruby, when a convention
large development team behind it can continuously update seamless integration in a short time, only companies like Microsoft can do this! Imagine domestic projects over the past few years (although they cannot be compared with Microsoft's framework), if they can be quickly updated and seamlessly integrated like the framework, I personally think that in addition to a technically competent, highly cohesive, and highly executive team, there must also be a set of standards that adapt to the needs o
http://www.cnblogs.com/qq78292959/archive/2011/03/17/2076948.htmlJava programming styles and naming conventionsThe purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own Java package, in
1. General rules: do not arbitrarily abbreviated; 2. macros, enumerations, etc. use all uppercase + underscores; 3. variables (including class, struct member variables), files, namespaces, access functions, and so use all lowercase + underline, class member variables following the end of the underscore, the global variable begins with g_; 4. Refer to existing or similar naming conventions ...
Naming conven
module name + operation. such as: user_view.jsp3. The JSP page corresponds to the action's meaning as much as possible, such as the userlistaction counterpart user_list.jspInterface:Use hump-style naming. In addition to nouns, you can also use adjectives to name (reflect their functional characteristics)Method:The rule is named after the verb, which is suitable for the hump type, but the biggest difference from the class name is that the first letter
distinguish the case sensitivity between the database name and table name. If your system is Windows and you want mysql to be case sensitive, you can add the following parts at the end of the [mysqld] section in the my. ini file:
[Plain] # If set to 0, table names are stored as specified and comparisons are case sensitive. # If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. # If set to 2, table names are stored as given but compared in lowercase. t
Directory:1. How to Write CSS comments? Benefits? 2. Advantages and Disadvantages of CSS introduction Methods 3. selector writing and Selector Priority 4. CSS Naming Convention 5. Background, line height 6, text (beginning with text and font) and other attributes
① CSS annotation writing specifications:1. Single line comment:Directly after the property value, such:①. Search {border: 1 pxsoli
Transferred from: http://www.ipv6bbs.cn/thread-348-1-1.html Although Microsoft has shown positive support for IPV6, Windows does not fully support IPV6, for example, in Windows, where we used to access network shared folders (such as \\127.0.0.1\C$) using UNC (Universal Naming convention). But now you can't use IPV6 to do this because Windows treats the colon in the IPV6 address as if it were a drive lette
C ++ programming naming convention
0
Preface
Based on years of work experience and other naming rules, my personal experience is more standard and is now applied to my development team.
1
Naming rules The file name, function name, and variable name should be descriptive and should not be excessively abbreviate
Today we have a strange problem, and at first we define a global variable with the following code:@property (strong,nonatomic) nsdictionary *newhomedatadictionary;The result has been reported error: property's synthesized getter follows Cocoa naming convention for returning ' owned ', looked for a long time also find no problem, then the front new word, found can , and it was discovered that Apple banned al
2.GRUB naming convention 5.1.2 Chained-load operating system
2.GRUB naming Convention
The device characters that Grub uses are a bit different from what you've seen in your operating system before, and you need to know about it so you can specify a drive or partition.Please see the following examples and explanations:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.