Exercises
As we saw in this chapter, a common reason that we fail to stabilize a piece of code is that it’s low on cohesion and, hence, has several reasons to change. In these exercises you get the opportunity to investigate a package, uncover parts with low cohesion, and suggest new modular boundaries. You also get to pick up a loose end and come up with a deeper measure of code age that addresses the shortcomings we noted.
Cores All the Way Down
-
Repository: TensorFlow[62]
-
Language: C++ and Python
-
Domain: TensorFlow is a machine-learning library from Google used to build neural networks.
-
Analysis snapshot: https://codescene.io/projects/1714/jobs/4295/results/code/hotspots/system-map
Earlier in this chapter we suggested a hypothetical refactoring ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access