注重代码效率_如何提升质量:注重态度

注重代码效率

by Harshdeep S Jawanda

通过Harshdeep S Jawanda

如何提升质量:注重态度 (How to skyrocket quality: focus on attitude)

When it comes to discussing quality and how we can improve, the most common things that come to peoples minds are tests, processes, procedures, QA departments, and so on. But they leave out the most important, basic thing, the pre-requisite for achieving high quality: the right attitude. Quality is all about having the right attitude. That’s the starting point.

在讨论质量以及我们如何提高质量时,人们最常想到的是测试,流程,程序,质量保证部门等。 但是他们忽略了最重要,最基本的东西,即达到高质量的前提: 正确的态度 。 质量就是拥有正确的态度。 那是起点。

Sure, you need all the other things mentioned above — tests, processes, and procedures — to achieve and maintain a high quality standard. But if you and/or your people don’t have the right attitude, all of the aforementioned things can just become a bullet list on a presentation slide. People can go through the motions of running the relevant tests and following the prescribed processes, but without the right attitude it all becomes a farce of ticking off checkboxes. ?

当然,您需要上面提到的所有其他内容(测试,过程和规程)才能达到并保持高质量的标准。 但是,如果您和/或您的员工态度不正确,上述所有内容都可能会成为演示幻灯片上的项目符号列表。 人们可以进行运行相关测试并遵循规定流程的动作,但是如果没有正确的态度 ,一切都会成为勾选复选框的闹剧。 ?

追求完美 (Pursuing perfection)

When it comes to the pursuit of perfection, I’ve always had the belief that:

在追求完美时,我一直坚信:

That’s my mantra and I swear by it. So much so, that I even have it as part of my Twitter profile. ?

那是我的口头禅 ,我发誓。 如此之多,以至于我什至将它作为我的Twitter个人资料的一部分。 ?

The first part simply means that no matter what you may think, nothing is ever really, truly perfect. If you think something is perfect, wait for five minutes, or two days, or two weeks, and you’ll start to see the small imperfections.

第一部分只是意味着,无论您怎么想,都没有什么是真的,真正的完美。 如果您认为某事是完美的,请等待五分钟或两天或两周,然后您会开始看到一些小的缺陷。

However, this does not mean that you should lose hope or become disheartened. Just because your thing (product, process, art, whatever) is not perfect doesn’t mean that it can’t be improved upon. This is where the second part comes in: by pursuing perfection you can move closer towards achieving perfection. And eventually, you’ll progress to such a state that you’ll surprise yourself by the progress made.

但是,这并不意味着您应该失去希望或灰心。 仅仅因为您的东西 (产品,过程,艺术品等)不完美,并不意味着就不能对其进行改进。 这是第二部分的目的:通过追求完美,您可以进一步接近实现完美。 最终,您将进步到这样一种状态,即您会对所取得的进步感到惊讶。

Psst. It still won’t be perfect, so what?

Psst。 仍然不是完美的 ,那又如何呢?

This line of thinking has grown out of my background as a computer engineer/scientist. With every passing day, I find many more examples that make me think that it is generally applicable. Unless you can disprove this mathematically, I am going to claim that my mantra is universally true. ?

这种思路已经超出了我作为计算机工程师/科学家的背景。 随着时间的流逝,我发现更多的例子使我认为它普遍适用。 除非您能从数学上证明这一点,否则我将宣称我的口头禅是普遍正确的。 ?

This mantra is the basis for developing the right attitude, achieving high quality, and continuing to improve upon it. Never be satisfied with the quality you have, always be trying to improve.

这种口头禅是发展正确态度,实现高质量并持续改进的基础。 永远不要对自己的质量感到满意,而要不断努力。

要进步,要悲观 (To improve, be pessimistic)

Strange as it may sound, I find this an invaluable attitude to have towards the quality of whatever it is that you are doing.

听起来可能有些奇怪,但我发现这是一种无价的态度,对您所做的任何事情都具有质量。

Assume that whatever you have made is not going to work, or that it is of low quality. Be pessimistic about the quality of your work.

假设您所做的一切都不起作用,或者质量低劣。 对工作质量感到悲观。

Then — systematically — prove your pessimism wrong!

然后-系统地证明您的悲观主义是错误的

Yeah, that’s right (can’t help but picture David Puddy). ?

是的,没错(不禁为David Puddy拍照)。 ?

You may think of this as a roundabout way of doing things, but it works! It ensures that in working to overcome your pessimism (even if it’s a manufactured one) you’re actually improving/ensuring quality.

您可能会认为这是一种绕行的处理方式,但它确实有效! 它可以确保在克服悲观情绪(即使是制造过的悲观情绪)的过程中,您实际上正在改善/确保质量。

For a developer, this means writing tests to prove that the code actually works. For an author, this could take the form of soliciting feedback from an experienced editor. Tailor the prove-your-pessimism-wrong step to your particular situation, but do it.

对于开发人员而言,这意味着编写测试以证明代码确实有效。 对于作者而言,这可以采取征求经验丰富的编辑反馈的形式。 为您的特定情况量身定制证明您悲观的错误步骤,但是要这样做。

All too often, I have seen (and occasionally been a victim of it myself) people suffering due to overconfidence in their work. “It’s just a one-line code change, not even going to create a ripple in the pond”!

我经常看到人们因对工作的过度自信而遭受苦难(有时自己也是受害者)。 “这只是单行代码更改,甚至不会在池塘中造成涟漪”!

Wrong! Unless you have regression-tested and proven that everything still works, assume that even your tiny change is going to wreak havoc on the larger system. Be pessimistic!

错误! 除非您经过回归测试并证明一切仍然有效,否则请假设即使您的微小更改也将对更大的系统造成严重破坏。 悲观!

反馈是金色的 (Feedback is golden)

This may come as a surprise to many, but you get feedback from only 4% of dissatisfied customers! Putting it another way, for every customer that bothers to complain, 26 others are quietly unhappy and at high risk of leaving without giving you the chance to improve. As you can imagine, unless you listen very carefully to what little feedback you get and take heed, you run a very high risk of living in a fool’s paradise.

这可能会让许多人感到意外,但您只会从4% 的不满意客户那里获得反馈 ! 换句话说,对于每个烦恼的客户, 其他26个客户都非常不高兴,并且极有可能在没有给您改善机会的情况下离开。 可以想像,除非您非常仔细地听取所获得的反馈并注意,否则您将有很高的生活在傻瓜天堂中的风险。

That’s why customer feedback is pure gold. I can’t stress enough that you’ve got to really listen to it!

这就是为什么客户反馈是纯金的原因。 我无法承受的压力是您必须真正聆听它!

倾听并内化,即使很痛 (Listen and internalize, even if it hurts)

As a creator, it may hurt to listen to people criticize one of your creations. But think of it as invaluable feedback (we know how important that is ?). The feedback may come from a customer, or it may come from within your organization. Either way, it’s an opportunity to learn, improve, and grow.

作为创作者,听别人批评您的作品之一可能会很痛苦。 但是,将其视为宝贵的反馈(我们知道这很重要吗?)。 反馈可能来自客户,也可能来自组织内部。 无论哪种方式,这都是一个学习,改进和成长的机会。

Creators who take umbrage at feedback and become defensive and non-receptive will never be able to achieve the highest quality standards. These are the people who will either:

虚心于反馈的创作者将变得防御和不接受,将永远无法达到最高的质量标准。 这些人将要么:

  • start looking for excuses as to why the failure happened (with the basic theme being “It wasn’t me”), or

    开始寻找失败原因的借口(基本主题是“不是我”),或者
  • become non-receptive and internally keep insisting there’s nothing to improve and that nothing could have been done any better.

    变得不容易接受,并且在内部不断坚持,没有什么可以改善的,没有什么可以做得更好的。

These are the sorts of people who will not deliver good quality and will continue to fall further behind their peers in terms of expertise and skill.

这些人不会提供高质量的产品,并且在专业知识和技能方面将继续落后于同龄人。

硬币的反面 (The flip side of the coin)

On the other hand (you knew this was coming, right? ?), don’t let a single-minded focus on quality give you tunnel vision and make you blind to everything else.

另一方面(您知道即将到来,对吗??),不要一味专注于质量给您带来视野,并使您对其他所有事物都视而不见。

务实 (Be Practical)

One has to balance the need and desire for quality against other factors like cost and time.

人们必须在对质量的需求和期望与其他因素(例如成本和时间)之间取得平衡。

As an example, let’s say your company already has an electrical switch that can take a million on/off operations without failing. You want to improve this switch so that it can handle 10 million operations. But the development, usage of newer and more expensive materials, and testing combined will take an additional two years, with the resultant switch costing 3x that of the million-operation switch. Considering all that, is that quality improvement still worth it?

举例来说,假设您的公司已经有一个电气开关,可以完成一百万次开/关操作而不会失败。 您需要改进此开关,使其可以处理1000万次操作。 但是,开发,使用更新和更昂贵的材料以及将测试组合在一起将花费额外的两年时间,其最终成本为百万操作开关的三倍。 考虑所有这些,质量改进仍然值得吗?

In most cases, the answer would be a resounding “no”. Maybe your time will be better spent developing a version that is water-resistant, making it more suitable for outside use, and opening up your product to a whole new market.

在大多数情况下,答案将是响亮的“否” 。 也许您会花费更多的时间来开发一种防水的版本,使其更适合在外部使用,并向全新的市场开放您的产品。

当心异常值 (Beware of the outliers)

The “listen to your customer feedback” advice also comes with a caveat: “Beware of the outliers”. These are the people who will never be satisfied, will always be complaining, and will make you run around trying to satisfy their every whim. Such customers will increasingly start complaining about super-specific scenarios (things that affect a very small percentage of users) or about things that are very subjective (specific to personal taste).

“听客户反馈”建议还带有警告:“当心异常值”。 这些人永远不会满足,总是会抱怨,会让您四处奔波,尽力满足他们的每一个异想天开。 这样的客户将越来越多地开始抱怨超级特定的场景(影响很小比例的用户的事物)或非常主观的事物(特定于个人品味)。

If you try to satisfy these outliers, you might end up spending time on features (for example, adding “skins” to your software) that do not have universal appeal. In the process, you’ll take resources away from developing the product in directions that will give the greatest benefit to the greatest number of people.

如果您试图满足这些离群值,那么您可能最终会花时间在没有普遍吸引力的功能上(例如,在软件中添加“皮肤”)。 在此过程中,您将在开发产品时剥夺资源,而这些开发方向将使最多的人受益最大。

In the end, this often comes down to a judgement call about when to de-prioritize a customer’s feedback. There’s no sure-shot formula to get it right every time.

最后,这通常归结为关于何时降低客户反馈的优先级的判断电话。 没有确定的公式可以每次都正确。

结论 (Conclusion)

Adjust your attitude to enable you to pursue perfection relentlessly, with eyes on practicality and ears receptive to feedback.

调整自己的态度,使您能够不懈地追求完美,同时注重实用性和接受反馈的耳朵。

If you found this article helpful, please don’t forget to clap! ?

如果您发现这篇文章对您有所帮助,请别忘了鼓掌! ?

In keeping with with spirit of this article, constructive discussions and corrections are most welcome!

按照本文的精神,非常欢迎进行建设性的讨论和更正!

翻译自: https://www.freecodecamp.org/news/how-to-skyrocket-quality-focus-on-attitude-bd5fadc4dc7f/

注重代码效率

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/393910.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

spark mllib推荐算法使用

2019独角兽企业重金招聘Python工程师标准>>> 一、pom.xml <!-- 机器学习包 --><dependency><groupId>org.apache.spark</groupId><artifactId>spark-mllib_2.10</artifactId><version>${spark.version}</version>&…

Android仿QQ复制昵称效果2

本文同步自http://javaexception.com/archives/77 背景: 在上一篇文章中&#xff0c;给出了一种复制QQ效果的方案&#xff0c;今天就来讲讲换一种方式实现。主要依赖的是一个开源项目https://github.com/shangmingchao/PopupList。 解决办法: PopupList.java的代码封装的比较完…

R语言的自定义函数—字符组合

前两天写了几个函数&#xff0c;对里面收获到的一些东西做一些记录。 函数str_comb&#xff0c;用于输入一个字符串或数值向量&#xff0c;返回由向量中元素组成的不重复的长度小于向量长度的所有组合&#xff0c;结果用矩阵形式输出。 函数使用结果如下&#xff1a; 思路很简单…

oracle group by 两项,Oracle中group by 的扩展函数rollup、cube、grouping sets

Oracle的group by除了基本使用方法以外&#xff0c;还有3种扩展使用方法&#xff0c;各自是rollup、cube、grouping sets。分别介绍例如以下&#xff1a;1、rollup对数据库表emp。如果当中两个字段名为a&#xff0c;b,c。假设使用group by rollup(a,b)&#xff0c;首先会对(a,b…

leetcode1079. 活字印刷(回溯)

你有一套活字字模 tiles&#xff0c;其中每个字模上都刻有一个字母 tiles[i]。返回你可以印出的非空字母序列的数目。 注意&#xff1a;本题中&#xff0c;每个活字字模只能使用一次。 示例 1&#xff1a; 输入&#xff1a;“AAB” 输出&#xff1a;8 解释&#xff1a;可能的…

什么从什么写短句_从什么到从什么造句

从什么到从什么造句从什么到从什么怎么来造句呢?以下是小编为大家收集整理的从什么到从什么造句&#xff0c;希望对你有所帮助&#xff01;从什么到从什么造句&#xff1a;从闻到花香到看到花朵,从看到花朵到触摸到花瓣,真是一种美妙的感觉.从今天到明天&#xff0c;从明天到后…

如何开发一个hexo主题_如何确定一个强烈的主题可以使产品开发更有效

如何开发一个hexo主题by Cameron Jenkinson卡梅伦詹金森(Cameron Jenkinson) 如何确定一个强烈的主题可以使产品开发更有效 (How identifying a strong theme can make product development more effective) MVPs always seem easy to execute and build. The first version i…

机器学习基石13-Hazard of Overfitting

注&#xff1a; 文章中所有的图片均来自台湾大学林轩田《机器学习基石》课程。 笔记原作者&#xff1a;红色石头 微信公众号&#xff1a;AI有道 上节课主要介绍了非线性分类模型&#xff0c;通过非线性变换&#xff0c;将非线性模型映射到另一个空间&#xff0c;转换为线性模型…

容器为何物,为什么它对OpenStack很重要?

本文讲的是容器为何物&#xff0c;为什么它对OpenStack很重要&#xff0c;【编者的话】本文主要介绍了容器的发展、容器技术、容器类型、Docker、Open Container Initiative、微服务以及OpenStack中容器的应用。 容器现在正经历着一次重生&#xff0c;部分原因是由于云计算的发…

oracle执行计划的rows不对,Oracle执行计划——all_rows和first_rows(n)优化器模式

Oracle执行计划——all_rows和first_rows(n)优化器模式0. 环境创建[sql]SQL> create usertest identified by test2 default tablespace users3 temporary tablespace temp4 quota unlimited on users;User created.SQL> grant createsession, resource, alter session t…

从 MVC 到前后端分离

转载自&#xff1a;https://my.oschina.net/huangyong/blog/521891 从MVC到前后端分离 1.理解 MVC MVC是一种经典的设计模式&#xff0c;全名为Model-View-Controller&#xff0c;即模型-视图-控制器。其中&#xff0c;模型是用于封装数据的载体&#xff0c;例如&#xff0c;在…

leetcode93. 复原IP地址(回溯)

给定一个只包含数字的字符串&#xff0c;复原它并返回所有可能的 IP 地址格式。 有效的 IP 地址正好由四个整数&#xff08;每个整数位于 0 到 255 之间组成&#xff09;&#xff0c;整数之间用 ‘.’ 分隔。 示例: 输入: “25525511135” 输出: [“255.255.11.135”, “255…

vj节点_创意编码—如何在JavaScript中创建VJ引擎

vj节点by George Gally通过乔治加利 创意编码—如何在JavaScript中创建VJ引擎 (Creative Coding — How to create a VJ engine in JavaScript) 了解如何将JavaScript动态注入网页 (Learn how to dynamically inject JavaScript into webpages) For years I’ve been using th…

上传下载

# 默写 TCP UDP 文件夹中的代码# 完成一个上传和下载文件的小程序 # server端 :根据客户端需求自定义 # client端 # 客户端启动之后 # 选择 上传操作 还是 下载操作 # 如果是上传操作 : 输入要上传的文件路径 # 基础需求 :直接将文件上传到默认目录 # 进阶需求 :将…

qt 串口 环形缓存_qt linux串口 缓冲区多大

满意答案Zc的爱丶很美2016.09.11采纳率&#xff1a;51% 等级&#xff1a;9已帮助&#xff1a;515人一、程序设计的基础&#xff0c;例如&#xff1a;基本的编程语言基础&#xff0c;至少对数据类型、程序的结构及流程控制等最基本的内容要相当清楚&#xff01;另外有不少同学…

在.NET中使用SMTP发送邮件

这是一篇转载&#xff0c;可能对大家很有用啊&#xff0c;放首页看看是否有参考价值。本文提到的方案仍然不能算是完全解决所有问题&#xff0c;最佳的dotNET下通过SMTP&#xff08;带验证&#xff09;发送邮件的机制是什么&#xff0c;不知道大家有什么好的看法&#xff01; …

oracle堆,oracle被一堆insert和update堵死解决方案

当前位置:我的异常网 Oracle技术 oracle被一堆insert和update堵死解决方案oracle被一堆insert和update堵死解决方案www.myexceptions.net 网友分享于&#xff1a;2014-07-22 浏览&#xff1a;0次oracle被一堆insert和update堵死在生产环境下&#xff0c;几乎每天都会发生一次…

leetcode306. 累加数(回溯)

累加数是一个字符串&#xff0c;组成它的数字可以形成累加序列。 一个有效的累加序列必须至少包含 3 个数。除了最开始的两个数以外&#xff0c;字符串中的其他数都等于它之前两个数相加的和。 给定一个只包含数字 ‘0’-‘9’ 的字符串&#xff0c;编写一个算法来判断给定输…

使用Typescript和React的最佳实践

by Christopher Diggins克里斯托弗迪金斯(Christopher Diggins) 使用Typescript和React的最佳实践 (Best practices for using Typescript with React) There are numerous tools and tutorials to help developers start writing simple React applications with TypeScript.…

LeetCode || Copy List with Random Pointer

A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. 思路1&#xff1a;最傻瓜的方法是首先遍历一次建立next关系的新list。然后第二次遍历处理random关系…