Programming in Scala [Chapter 27]-Modular Programming Using Objects
Briefly

This chapter delves into programming in the large, assembling these smaller pieces into larger systems. It discusses the role of packages and access modifiers in organizing large programs... practical techniques for utilizing traits to split modules across multiple files.
To achieve such modularity, several essentials are required: a module construct for separating interface and implementation, a way to replace modules seamlessly... However, Scala offers alternatives, such as using objects as modules.
Read at Medium
[
add
]
[
|
|
]