如何说服我的同事不要将数据集用于企业开发(.NET 2.0+) [英] How to convince my co-workers not to use datasets for enterprise development (.NET 2.0+)

查看:58
本文介绍了如何说服我的同事不要将数据集用于企业开发(.NET 2.0+)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与我一起工作的每个人都痴迷于以数据为中心的企业开发方法,并且讨厌使用自定义集合/对象的想法.否则,说服他们的最佳方法是什么?

Everyone I work with is obsessed with the data-centric approach to enterprise development and hates the idea of using custom collections/objects. What is the best way to convince them otherwise?

推荐答案

如果您使用的是旧版代码(例如,从.NET 1.x移植到2.0或3.5的应用程序),那么最好不要使用数据集.为什么要更改已经起作用的东西?

If you are working on legacy code (e.g., apps ported from .NET 1.x to 2.0 or 3.5) then it would be a bad idea to depart from datasets. Why change something that already works?

但是,如果您要创建新的应用程序,则可以引用以下内容:

If you are, however, creating a new apps, there a few things that you can cite:

  • 呼吁人们在维持使用数据集的应用程序时经历痛苦
  • 为您的新方法带来性能优势
  • 以良好的立场为诱饵.例如,移至.NET 3.5,并将LINQ升级为SQL:尽管仍坚持数据驱动的体系结构,但它是对字符串索引数据集的巨大替代,并强制执行...瞧!自定义收藏-以隐藏的方式出现.

重要的是,无论您使用哪种方法,都应保持一致,并且对方法的优缺点完全诚实.

What is important is that whatever approach you use you remain consistent, and you are completely honest with the pros and cons of your approaches.

如果其他所有方法都失败了(例如,您的开发团队完全拒绝接受旧的做法并且对学习新事物持怀疑态度),这是一个非常非常明确的信号,表明您已经使您的团队不堪重负了,该离开公司了!

If all else fails (e.g., you have a development team that utterly refuses to budge from old practices and is skeptical of learning new things), this is a very, very clear sign that you've outgrown your team it's time to leave your company!

这篇关于如何说服我的同事不要将数据集用于企业开发(.NET 2.0+)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆