Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当以行报告代码库的大小时,报告原始wc计数或非空白非注释行是否更常见/标准?我不是在问应该使用哪种度量,只是,如果我看到一个没有其他信息的数字,那么它充其量是猜测的可能性更大。
wc
我会说非空白,非注释行。对于 C 家族树中的许多语言,这大约是分号的数量。