What does “monolithic” mean?

前端 未结 6 2289
抹茶落季
抹茶落季 2021-02-13 00:23

I\'ve seen it in the context of classes. I suspect it means that the class could use being broken down into logical subunits, but I can\'t find a good definition. Could you give

6条回答
  •  不思量自难忘°
    2021-02-13 01:06

    My definition of a Monolithic design in software development, is a design which requires additional functionality to be added to a single indivisible block of code.

    PRO:

    • Everything is in one place, and therefore easy to find
    • Can be simpler, given there less relations to consider (can also be more complex see cons)

    CONS:

    • Over time as functionality is added the complexity of the system may exponentially increase, to the point new features are extremely hard or impossible to implement
    • Can make it difficult for multiple developers to work with e.g Entity Framework EDMX files have the entire database in a single file which can be extremely difficult for multiple developers to work on.
    • Reduced re-usability, by definition it does not have smaller components which can be then reused and re-purposed to solve other problems, unless a complete copy of the code is made and then modified.

提交回复
热议问题