when coding in a fresh system

作者分享了在开发过程中遇到的问题,强调了系统设计的重要性,建议在设计时考虑内部接口依赖外部系统,以减少频繁的代码修改。讨论了如何通过优化系统框架来提高代码的稳定性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  I have designed a component of a web system with my workmate. In detail, I am just a coder instead of a designer, as all of it are designed by my manager. During the programme, we encounter much of problems,  most of which can be avoided. As a result, we delay the finished time. We spent much of time revising program for the design is being changed all the time. I am baffling with the dynamic requirement. It is common that I just finish a function with spending lots of time when the requirement is changed. What should I do? For example, I have alter the construct of the database table much times, which leads to a result that I have to resvise the routine. It is not the most disgusted thing that I'm confronted with. I code in a bad system which has a terrible framework. I have to change my code each time a external system modifies their interface or convention. It makes me upset. I think a robost system should be able handle kinds of change without modifying itself. That's the goal of our programmer. 

  In my opinion, when we design a system, we should design its framework, instead of coding first. If it depends on a external system, we prefer to depend on our inernal interface which will depend on the external system. So when a external system changes its interface or requirement, we have to modify the inernal interface instead of much code. That is to abstract the function . 

转载于:https://www.cnblogs.com/junyuhuang/p/3967157.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值