态度决定一切细节决定成败

When coding and designing there are a lot of steps and techniques that may seem trivial and appear to have little importance in the grand scheme of things. Does it really matter if we are using meaningful names for our variables in our code, or for our CSS id’s and classes? Who really cares if we use deprecated elements in our X/HTML so long as browser recognize them? So what if I am not consistently formatting my code the same way?

在进行编码和设计时,有许多步骤和技术看似微不足道,并且在整体方案中似乎没有什么重要性。 如果我们在代码中为变量或CSS ID和类使用有意义的名称真的有关系吗? 谁真正在乎我们是否在X / HTML中使用过时的元素,只要浏览器能够识别它们? 那么,如果我不能始终如一地格式化代码怎么办?

I am a huge fan of basketball, and find the history of the game particularly enjoyable. One of the basketball figures from the past that I have always admired the most was John Wooden, who coached the UCLA basketball team to 10 NCAA national titles, including 7 in a row at one point. He had four 30-0 seasons, and at one point his team won 88 consecutive games. Point being…the man was quite good at his job.

我是篮球运动的忠实粉丝,并且觉得比赛的历史特别有趣。 我一直以来最敬佩的篮球人物之一是约翰·伍登(John Wooden),他曾带领UCLA篮球队获得10个NCAA国家冠军,其中包括连续7个冠军。 他有四个30-0赛季,在某一时刻他的球队连续赢得了88场比赛。 要点是……这个人很擅长他的工作。

Each year, Wooden started out his season by having all of his players come into the locker room for his first lesson. He’d sit them all down, then pull out a pair of socks and slowly demonstrate the proper way to put them on. He’d roll the socks over the toes, then the ball of the foot, arch and heel, and then pull the sock up tight. He would then have the players slowly run their fingers over the socks to make sure there were no wrinkles. Seems kind of trivial right?

每年,伍登都通过让所有球员进入更衣室开始他的第一堂课来开始他的赛季。 他会把它们都坐下来,然后拔出一双袜子,慢慢地示范穿上它们的正确方法。 他先将袜子滚动在脚趾上,然后将脚,足弓和脚跟的球滚动,然后将袜子拉紧。 然后,他将让球员在袜子上缓慢滑动手指,以确保没有皱纹。 似乎有点琐碎的权利?

However think about it for a second…if he put that much attention into ensuring that such a small task was carried out so precisely, wouldn’t it follow that each task his team performed would be given the same kind of thought and attention to detail?

但是请三思而后行……如果他投入太多的精力来确保如此小的任务如此精确地执行,难道不随之而来的是,他的团队执行的每个任务都会得到相同的思想和对细节的关注?

It’s that way with programming and design as well. If we think details like semantic names, using progressive enhancement, and consistently formatting our code are important, won’t we also be concerned with much bigger details like making sure our code is efficient, our program is easy to use, and our design is effectively portraying the message we are trying to send?

编程和设计也是如此。 如果我们认为诸如语义名称之类的细节,使用渐进增强功能以​​及一致地格式化我们的代码很重要,那么我们是否也不必担心更大的细节,例如确保我们的代码高效,程序易于使用且设计合理。有效地刻画我们试图发送的消息?

And what if we do decide that some of these “trivial” details are not important enough to worry about? Where do we then draw the line between what matters and what we can just kind of ignore? If it’s ok to not use meaningful names for our variables, is it also ok if our code takes a few more seconds to load, or if one of our scripts is not unobtrusive? When does something become important enough to matter?

如果我们确实确定其中一些“琐碎”的细节并不重要,该怎么办呢? 那么,我们在哪里可以划清重要和可以忽略的部分之间的界限? 如果可以对变量不使用有意义的名称,如果代码需要花费几秒钟的时间来加载,或者如果我们的脚本之一不是很吸引人,那也可以吗? 什么时候什么东西变得足够重要就可以了?

It may seem somewhat trivial to make sure that all our identifiers in CSS are meaningful names, and that in our programs we always format our functions the same way. However, if we put that kind of attention into all the little things that go into programming and design, just imagine the high quality finished product we will have. It is that attention to detail that separates the good programs from the great, a good looking design from a “wow” design.

确保我们在CSS中的所有标识符都是有意义的名称似乎有些琐碎,并且在我们的程序中我们始终以相同的方式格式化函数。 但是,如果我们将这种注意力放在编程和设计中的所有小事情上,那就想象一下我们将拥有的高质量成品。 对细节的关注将优秀的程序与出色的外观设计与“哇”的设计区分开来。

That’s why we can never sit still. We need to always push ourselves to find better solutions…more efficient code, more effective design. Just because something works doesn’t mean it works well. Only by taking time to pay close attention to the “minor” details that go into our development process can we be sure that our final, finished product will be one of high quality and durability.

这就是为什么我们永远都不能停滞不前。 我们需要始终努力寻找更好的解决方案……更有效的代码,更有效的设计。 仅仅因为某事有效并不意味着它就运作良好。 只有花时间密切注意开发过程中的“次要”细节,我们才能确保最终成品是高质量和耐用性之一。

翻译自: https://timkadlec.com/2008/02/its-all-in-the-details/

态度决定一切细节决定成败

态度决定一切细节决定成败_一切都在细节中相关推荐

  1. 细节决定成败--打电话和发邮件的细节

    你是否碰到这样的情形:当你拨通一个电话后,听到的是一个陌生的声音,当你询问对方是不是某人时,对方冷漠地说"你打错了"就挂断了电话.你是否至今还记得当时你听完这个冷漠的回答后的心情? ...

  2. atitit.细节决定成败的适合情形与缺点

    atitit.细节决定成败的适合情形与缺点 1. 在理论界有两种观点:一种是"细节决定成败",另一种是"战略决定成败".1 1.1. 格局决定成败,方向决定成败 ...

  3. 《细节决定成败》语录

    今天花了一天的时间把<细节决定成败>这本书读完,学到不少知识.结合自己的工作和生活,发现一些细节没有足够的重视.就以代码注释为例,自己会在一些重要的地方增加一些注释,以便其它人了解这些代码 ...

  4. 也谈细节决定成败——《细节决家成败》读后感

    内容提要: 如果让你的手下去送货,你必须考虑5个细节,必须打7个电话:你的业务人员访问经销商,未开口说话之前,必须做5件事:一个戒烟规定,要经历5个阶段,做了一年的细节,顺理成章地全部实现戒烟:--在 ...

  5. 读书笔记-《细节决定成败》

    读书笔记-<细节决定成败> 上海地铁二号线和一号线的差距 上海地铁一号线是由德国人设计的,看上去并没有什么特别的地方,直到中国设计师设计的二号线投入运营,才发现其中有那么多的细节被二号线忽 ...

  6. 细节决定成败——动作一定要做到位,才能强身健体

    本文源自我在2012 Top100Submit大会的演讲<细节决定成败>,并会收录到麦思博公司将编集的<2012案例年鉴>中. 为期三天的Top100Submit会议中,你能听 ...

  7. 软件设计是怎样炼成的(7)——细节决定成败(详细设计)

    摘要: 当我们需要考虑类.类的内部细节.类之间的关系时,这时我们已经开始做详细设计了.详细设计不一定是一份文档,也不一定是Word文档,详细设计也不一定叫"详细设计",有时候&qu ...

  8. shields 徽标_到处都有平面徽标

    shields 徽标 重点 (Top highlight) Companies invest a lot of time, money and energy trying to make audien ...

  9. network 拦截不到东西是怎么做到的?_都说读中职院校学不到东西,中职学生到底是怎么学习的?...

    中职院校在社会中的影响一直并不是很好,一直都是负面影响高于正面影响,那么,我们不禁就要问了,一直在喊提升中职院校的教学质量,质量提升到哪里去了呢!那些中职院校里的学生到底又是怎么学习的呢?为什么都说去 ...

最新文章

  1. 【转】基于Android Fragment功能的例子
  2. python 线性回归 统计检验 p值_SPSS 25 数学统计分析工具
  3. android系统动态切换输入法,一种动态切换Android系统输入法的弹出模式的方法与流程...
  4. gpasswd 命令详解
  5. 基于XML的IOC案例
  6. xml文件转换成图片_如何把pdf文件转换成图片?
  7. CSharpGL(23)用ComputeShader实现一个简单的ParticleSimulator
  8. UI1_UIView层操作
  9. 震惊!递推与递归竟然可以这么编!%99的程序员都不知道!
  10. Java描述设计模式(23):访问者模式
  11. 如何 方法内指令重排 进制_Java虚拟机jvm学习一:认识jvm的运行机制
  12. php图像处理缩略图,17.ThinkPHP 扩展库:图像处理--生成缩略图
  13. 瞎说一波3种基本背包问题【希望巨巨们指出错误】
  14. ORB-SLAM2-建立双目稠密点云(一)
  15. python读取二进制文件_python中读写二进制文件
  16. 全栈工程师将会缔造下一个高薪群体
  17. C语言-基础入门-学习笔记(13):结构体
  18. 微信公众号的名称、微信号、原始ID,有什么区别?
  19. 大学计算机专业吐槽,大学专业吐槽集锦:分分钟让你感觉“前途无亮”!
  20. linux下github使用教程,Linux下git操作GitHub步骤教程

热门文章

  1. 【原创】股市快讯自动更新器
  2. Java小游戏——飞机大战
  3. 7月Python最佳开源项目Top 10
  4. 【转载】C#操作Word的超详细总结
  5. LOCAL_PRIVILEGED_MODULE 详解(1)
  6. 显示error 1044错误代码
  7. 关于自定义View的drawText字体测量
  8. 搭建短视频被动收益系统的资源网站,实现月入过万
  9. 《数据库原理及应用教程》考试系统
  10. 【you may need to restart the kernel to use updated packages】