`
love~ruby+rails
  • 浏览: 829505 次
  • 性别: Icon_minigender_1
  • 来自: lanzhou
社区版块
存档分类
最新评论

5 Excuses Bad Programmers Make

阅读更多
It’s a common problem, there’s a young kid on your team who thinks he is a great architect. He wants to replace the simplest include with a new whizbang inherited menu system or add 3 layers of abstraction to the database access layer, or replace the beautifully crafted error reporting system with exceptions. When quizzing this “architect” he has a reason for every possible change, these are those classic excuses and reason.

   1. Security. “This will stop any possible security breaches in the future,” he says. Little does he realise that including one extra file into your system isn’t a security risk and probably never will be.
   2. Performance. “We will do this and this and this, and then cache it all in memory. It will be faster than the existing system,” he says. Sure this might be faster, but the difference between 5ms execution and 8ms execution is irrelevant. Chances of him actually having done the profiling and being able to improve the performance gains are minimal.
   3. Future proofing. “This will put us in a great position to make changes in the future.” Which changes? You know those unspecified, unrealised and unkown changes that we may or may make sometime in the future.
   4. Outdated. “There’s a new better way to do that exact thing.” There is a new way to do it, there is a new way to do anything and everything, but is it better? Is it worth holding the project back a week to modernise the codebase? Probably not.
   5. That’s ugly. “But this code is ugly”, he pleads. Is a 3 line hack better or worse than a leaky abstraction?

I’m sure you know of more, what are they?
分享到:
评论

相关推荐

    Android代码-Programmer Excuses

    Programmer Execuses Simple client which uses pe-api. It's now available on Play Store It's using SwipeRefreshLayout for swipe-down-to-refresh layout. ButterKinife for view injections. ...

    Perl Best Practices

    "There are no more excuses for writing bad Perl programs. All levels of Perl programmer will be more productive after reading this book." -- Peter Scott "Perl Best Practices will be the next big ...

    Teachers' perceptions of students' excuses for academic difficulties

    Teachers' perceptions of students' excuses for academic difficulties 146 Ferguson MEISELS, S. J. (1989). High-stakes testing in kindergarten. Educational Leadership, 46(7), 16-22. MOSBURO, J. W. ...

    Dev Excuses-crx插件

    语言:English (UK) 在最需要的时候快速找个借口 当开发人员的代码无法运行时,它为开发人员提供了一个快速借口的工具

    Developer Excuses-crx插件

    语言:English (United States) 用一个漂亮的照片背景 功能覆盖您的新选项卡 *从[未提出](https://unsplash.com/)定期刷新背景图像 *定期刷新引用[开发人员借口](http://www.devexcuses.com/) *使用[肯烧伤效果]...

    Excuses-Generator

    香草JS的Hello World 通过在gitpod中打开此模板,在30秒内开始编码: 手动安装 切记先安装npm软件包: $ npm install 建立并开始编码! 第一次构建应用程序... $ npm run start ...1)如何运行我的代码?...

    The.Startup.Equation.A.Visual.Guidebook.to.Building.Your.Startup

    Leveraging visual tools, The Startup Equation leads you step by step through the decisions you need to make to find your perfect startup model. You'll learn things such as identifying your unique ...

    Chrome Install

    We all know that exercise is important – vital, in fact. Yet, one of the most common excuses for not exercising enough is “I can’t find time for exercise.”

    Iron-Clad Java_Building Secure Web Applications-McGraw Hill(2015).epub

    All too often, businesses roll the dice and short product security, explaining away incidents when they occur with excuses like: “hackers are becoming more sophisticated,” “security is too ...

    计算机网络_自顶向下方法_第四版_课后习题答案

    Diplomatic protocols also allow for either Alice or Bob to politely cancel the engagement if they have reasonable excuses. 3. A networking program usually has two programs, each running on a ...

    教师对学生学业困难借口的看法

    Teachers' perceptions of students' excuses for academic difficulties 146 Ferguson MEISELS, S. J. (1989). High-stakes testing in kindergarten. Educational Leadership, 46(7), 16-22. MOSBURO, J. W. ...

    ZJU_ACM_All_Anwer 搞编程的都知道的浙江大学A 题库.本书 集了所有经 Z 题解集,集合并附 Mathimaticsumerical algorithms 数值算法

    1315 Excuses, Excuses! 简单题 1151 Word Reversal 简单题,好像是什么Practice的…… 1170 String Matching 简单题 1174 Skip Letter Code 不错的简单题 1175 Word Process Machine 简单题 1181 Word ...

    AndroidCommunicator:IoC容器,用于从Android调用Web服务-开源

    还提供了一个名为PhotoSpeller的演示应用程序,该应用程序用照片拼写了从用户或通过调用以下服务之一获得的文本:QuoteOfThe Day或Excuses。 这些照片是通过调用Flickr或Google图片服务获得的。

    OVERSQUAD-crx插件

    Oversquad流通知器 Rest通知quis passe chez les流光OVERSQUAD! Désqu'un stream estlancé...维护人员,vous n'aurez和d'excuses;)NB:Cette扩展estdéveloppéepar JuJoue。 http://jujoue.me/ 支持语言:Français

    浙江大学ACM题解/ZJU 题型分类

    1315 Excuses, Excuses! 简单题 1151 Word Reversal 简单题,好像是什么Practice的…… 1170 String Matching 简单题 1174 Skip Letter Code 不错的简单题 1175 Word Process Machine 简单题 1181 Word ...

    xkcd-excuse-generator:使用XKCD漫画作为_all_借口的基础的无服务器图像生成器!

    XKCD借口生成器以漂亮的漫画风格产生自己的借口! 转到并从此转到: 对此: 用一个简单的表格! 原始创建是作为2017年9月12日举行的和2017年9月29日举行的的示例,在此我就无服务器技术进行。 提供的错误监控 :red_...

    Service Support-英文原版

    1.1.5 itSMF.................................................................................................................- 5 - 1.2 Restructuring the IT Infrastructure Library..........................

Global site tag (gtag.js) - Google Analytics