关于命名的规则

 
 

namspace->noun::adjective::adjective

命名   名词 形容词   形容词

package Disk;
package Disk::Audio;
package Disk::DVD;
package Disk::DVD::Rewritable;
 
 
 

routine->imperative_verb [adjective] - noun - preposition

常规   当前动作     形容词   名词  介词

sub get_record;                      #im_verb noun
sub get_record_for;                  #im_berb noun pre
 
sub eat_cookie;                      #im_verb noun
sub eat_previous_cookie;             #im_verb adj noun
 
sub build_profile;                   #im_verb noun
sub build_execution_profile;         #im_verb adj noun
sub build_execution_profile_using;   #im_verb adj noun pre

网页题目:关于命名的规则
文章出自:http://pwwzsj.com/article/gsejge.html