关于“设置”的命名建议

时间:2019-06-21 05:50:52

标签: variables naming-conventions naming

我无法正确设置变量名

我做了一些变量,例如“ node_set_name”

但是这个名字对我来说不好,因为我的程序使用了很多get set函数

也许这只是我的母语而不是英语...

无论如何,有人能推荐我一些好的变量名来代替“集合”的数学含义吗?

我认为我可以使用“组”而不是“设置” node_group_name,但我不确定此“组”是否自然具有“设置”的含义?

typedef struct {
uint8* node_set_name;                      
uint8 node_set_type;                        
uint8 related_node_information;               
uint8 element_set_count;                    
uint8 _pad;
uint8 node_element_list[MAX_MISC_NODE_SET_SIZE]; 
} fsw_misc_node_set_information;

0 个答案:

没有答案