📰 2026-04-12 12:30 更新
🔸 How Complex is my Code? / 我的代码有多复杂?
🔗 How Complex is my Code?
🔥 58 points
原文:
What code complexity can mean — from Big O notation and Cyclomatic Complexity to the surprising insights psycholinguistics can offer software developers.What is Complexity? #“Complexity of an algorithm is the amount of resources required to run it.”(Wikipedia Definition)Given this definition, there are so many definitions of Resources one can think of in terms of running code: the memory needed, the time needed, the mental resources to understand the code, the mental resources required to und…
译文:
代码复杂性意味着什么—从Big O符号和Cyclomatic Complexity到心理语言学可以为软件开发人员提供令人惊讶的见解。什么是复杂性? # “算法的复杂性是运行算法所需的资源量。” (维基百科定义)根据这个定义,人们可以从运行代码的角度来思考资源的定义:所需的内存,所需的时间,理解的心理资源 密码,解开……所需的心理资源
自动更新 · 正文抓取 · 双语翻译