Standardize naming conventions #12
Reference in New Issue
Block a user
Delete Branch "naming-conventions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Standardize naming conventions across the entire wizapp-stdlib codebase by replacing inconsistent prefixes and snake_case with a unified
wpprefix + CamelCase scheme.Changes
Naming convention applied
wapp_module_functionwpModuleFunctionGenericXxx, bareXxxWpXxxWAPP_XXX,SHELL_XXXWP_XXX,WP_SHELL_XXX_module_function_moduleFunctionwapp_extern,wapp_internwp_extern,wp_internModules affected
All 20 modules were renamed:
arena,array,dbl_list,queue,str8,mem_allocator,mem_utils,mem_os,file,cpath,log,shell_commander,shell_termcolour,shell_utils,prng/xorshift,uuid,tester,aliases,assert,misc_utils,platform— plus their test files.Backward compatibility
Added
src/oldnames.hwith#define OLD_NAME NEW_NAMEfor every renamed symbol, organized by module under Constants → Types → Functions sections. Existing code that includes this file will compile without changes.Unify naming conventionsto Standardize naming conventions