Development Cost of Procedural Programming vs. OOP?

后端 未结 9 2148
面向向阳花
面向向阳花 2021-02-06 01:21

I come from a fairly strong OO background, the benefits of OOD & OOP are second nature to me, but recently I\'ve found myself in a development shop tied to a procedural prog

9条回答
  •  别那么骄傲
    2021-02-06 02:05

    OO or procedural offer to different way to develop and both can be costly if badly managed.

    If we suppose that the works are done by the best person in both case, I think the result might be equal in term of cost.

    I believe the cost difference will be on how you will be the maintenance phase where you will need to add features and modify current features. Procedural project are harder to have automatic testing, are less subject to be able to expand without affecting other part and is more harder to understand the concept part by part (because cohesive part aren't grouped together necessary).

    So, I think, the OO cost will be lower in the long run compared to Procedural.

提交回复
热议问题