# Complexity

tags
Book: A Philosophy Of Software Design
• A property emerging out of interactions between multiple components in systems

• Complexity of a system can be calculated as $$C = \Sigma_{p} C_p t_p$$

• i.e Total complexity = complexity of a module multiplied by cumulative time spent working on it
• Thus, common cases should be simple to do and infrequent cases should be possible
• Code complexity is judged by the reader and the writer

• Complexity is caused by dependencies and obscurity