Development Cost of Procedural Programming vs. OOP?

后端 未结 9 2149
面向向阳花
面向向阳花 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 01:48

    The key is time. How long does it take the company to change the design to add new features or fix existing ones. Any study you make should focus on that area.

    My company had a event driven procedure oriented design for a CAM software in the mid 90's created using VB3. It was taking a long time to adapt the software to new machines. A long time to test the effects of bug fixes and new features.

    With VB6 came along I was able to graph out the current design and a new design that fixed the testing and adaptation problem. The non-technical boss grasped what I was trying doing right away.

    The key is to explain WHY OOP will benefit the project. Use things like Refactoring by Fowler and Design Patterns to show how a new design will lower the time to do things. Also include how you get from Point A to Point B. Refactoring will help with showing how you can have working intermediate stages that can be shipped.

提交回复
热议问题