方法缺乏凝聚力(LCOM4)
Cohesion metrics measure how well the methods of a class are related to each other. A cohesive class performs one function while a non-cohesive class performs two or more unrelated functions. A non-cohesive class may need to be restructured into two or more smaller classes.
High cohesion is desirable since it promotes encapsulation. As a drawback, a highly cohesive class has high coupling between the methods of the class, which in turn indicates high testing effort for that class.
【软件架构】代码即为图表
1. Diagrams
Turn python code into cloud system architecture diagrams
go-diagrams:使用go创建漂亮的系统图
https://github.com/blushft/go-diagrams
Go-Diagrams
Fast and easy application diagrams
Go-Diagrams is a loose port of diagrams.
Contents
Diagrams:图表即代码
About Diagrams
Diagrams lets you draw the cloud system architecture in Python code.
It was born for prototyping a new system architecture without any design tools. You can also describe or visualize the existing system architecture as well.
Diagram as Code
allows you to track the architecture diagram changes in any version control system.
D2:说明性图表编程
Create beautiful diagrams in minutes. Simple syntax. Endlessly customizable. D2 is the fastest and easiest way to get a mental model from your head onto the screen, then make edits with your team.
vars: {
d2-config: {
layout-engine: elk
# Terminal theme code
theme-id: 300
}
}
network: {
cell tower: {
satellites: {
shape: stored_data
style.multiple: true
}
- 阅读更多 关于 D2:说明性图表编程
- 登录 发表评论
软件架构的前8个图表工具
This article was brought to you by IcePanel 🧊
使用Draw.io创建动态图的两个简单步骤
【软件架构】最佳软件架构书籍终极榜单(2024)
在这篇文章中,我为您列出了2024年应该阅读的最佳软件架构书籍。
软件架构是软件产品成功开发的基础。
一个精心设计的软件架构可以对系统的质量产生很大的影响。它还可以帮助降低出错的风险,并使将来添加新特性和功能变得更容易。
在这篇博客文章中,我为您列出了2024年应该阅读的最佳软件架构书籍,以及2024年将出版哪些有趣的软件架构书籍。
当然,这些书中的大多数也是2023年最好的软件架构和设计书籍之一。
我希望这份软件架构师书籍清单能帮助你找到你需要学习更多关于软件架构的书籍,并成为一名更好的软件架构师。