lucproglangcourse / lucproglangcourse.github.io

Lecture notes for COMP 371/471: Programming languages course at Loyola University Chicago with a focus on functional languages and projects mostly in Scala
MIT License
1 stars 1 forks source link

add thoughts on DIP #16

Open klaeufer opened 2 years ago

klaeufer commented 2 years ago

https://en.wikipedia.org/wiki/Dependency_inversion_principle <- good reference The key points of the principle are

Let's try to map these points to an example, such as LineCountImperativeModular together with the common traits. Which of those traits and objects are

?

Or perhaps we could arrange the traits along a high-level vs. low-level continuum. It would be great if some of you followed up here so we can have a discussion!