joke整人代码瘫痪

I read a post on ArsTechnica today called "I know too much to program quickly. What can I do?" that is summary of a StackOverflow question by Zilk, who says:

我今天在ArsTechnica上读了一篇文章,“我知道太多,无法快速编程。我该怎么办?” 这是一个问题的StackOverflow总结通过Zilk ,谁说:

Lately, I've been noticing that the more experience I gain, the longer it takes me to complete projects, or certain tasks in a project. I'm not going senile yet. It's just that I've seen so many different ways in which things can go wrong. And the potential pitfalls and gotchas that I know about and remember are just getting more and more.

最近,我一直在注意,我获得的经验越多,完成项目或项目中某些任务所花费的时间就越长。 我还不衰老。 只是我已经看到了很多出错的不同方式。 我知道并记得的潜在陷阱和陷阱正在越来越多。

Trivial example: it used to be just "okay, write a file here". Now I'm worrying about permissions, locking, concurrency, atomic operations, indirection/frameworks, different file systems, number of files in a directory, predictable temp file names, the quality of randomness in my PRNG, power shortages in the middle of any operation, an understandable API for what I'm doing, proper documentation, etc etc etc.

一个简单的例子:过去只是“好吧,在这里写文件”。 现在我担心的是权限,锁定,并发,原子操作,间接/框架,不同的文件系统,目录中的文件数,可预测的临时文件名,PRNG中的随机性质量,任何中间的电源短缺操作,我在做什么的可理解的API,适当的文档等,等等。

This really hit me because THIS IS ME. I was wondering recently if it was age-related, but I'm just not that old to be senile. It's too much experience combined with overthinking. I have more experience than many, but clearly not enough to keep me from suffering from Analysis Paralysis.

这真的让我感到震惊,因为这就是我。 我最近在想这是否与年龄有关,但我的年龄还没有那么老。 太多的经验与过度思考相结合。 我的经验比很多人多,但显然不足以使我免受Analysis Paralysis的困扰。

I have two side projects I'm doing on vacations and in the evenings when the house is asleep. One is a port of popular iOS application to Windows Phone, the other is a iOS app with a cloud service startup with my buddy Greg. Both projects have had awesome beginnings and then stalled when things just got overwhelming.

我有两个在假期和晚上在房子入睡时正在做的项目。 一个是将流行的iOS应用程序移植到Windows Phone,另一个是带有我的好友Greg的云服务启动公司的iOS应用程序。 这两个项目的开始都是很棒的,然后在事情变得势不可挡时停滞了。

I kept starting features, the stalling. I felt like I was thrashing to disk, spending more time swapping ideas around in my head rather than just doing them. I'm still getting lots of things done, in general, I'm productive, but when I code I just thrash.

我一直在启动功能,拖延时间。 我感觉自己像是在挣扎着挣扎,花了更多的时间在脑海里交换想法,而不是仅仅去做。 总的来说,我仍然有很多事情要做,但我的工作效率很高,但是当我编写代码时,我还是rash之以鼻。

I'm overthinking stuff. "Write settings to a file" turns into a mess of paranoia around concurrency situations, upgrading settings from previous versions of the app (that don't exist, mind you), and it just snowballs from there. It's not exactly scope creep, but it's a kind of architectural paranoia. I see so many issues and possible bugs that I've learned over the years that could derail a feature that I end up derailing the feature.

我想得太多了。 “将设置写入文件”会导致并发情况混乱,从应用程序的早期版本(不存在,请注意)升级设置,然后就此滚雪球。 这不完全是范围蠕变,而是一种建筑上的妄想症。 多年来,我发现了很多问题和可能的错误,这些错误和错误可能会使某个功能出轨,最终导致该功能出轨。

雅尼 (YAGNI)

The answer, they say, is You Aren't Gonna Need It. "Perfect is the enemy of the good" reminds user Telastyn.  These are easy to intellectualize but hard to internalize. User Mouviciel says:

他们说,答案是您将不需要它。 用户Telastyn提醒“完美是善的敌人”。 这些很容易智能化,但是很难内部化。 用户Mouviciel说:

Looks like you are not experienced enough :). The next lesson is: stick to requirements, not more.

看来您经验不足:)。 下一课是:坚持要求,而不是更多

I get that, but me, I often need another brain to complement my own.

我明白了,但我经常需要另一个大脑来补充自己的大脑。

我如何解决过度思考 (How I Solve Overthinking)

I learned about Agile from James Shore while I was working at Corillian some years ago, but it's Pairing that resonates with me the most. With a good pair, you'll get 3 times the work, not double.

几年前,当我在Corillian工作时,我从James Shore那里了解了敏捷知识,但“配对”最能引起我的共鸣。 有了一对优秀的配对,您将获得3倍的工作量,而不是两倍。

I worked my way through both these startup issues by bringing in another brain. I'm not the best programmer, but I do OK. But somehow we are both better when we pair. I paired with Greg on the iOS and my new friend Jan Hanneman on the other. They are both clearly better coders than I, which is intimidating, but I'm still sure I provide value. What they gave me was a fresh perspective and a focus to say "YAGNI" and just get features done. The ironic part is, if I'm brought in on a project to pair, that's what I bring also.

我通过引入另一个大脑来解决这两个启动问题。 我不是最好的程序员,但我可以。 但是无论如何,我们俩在一起时会变得更好。 我与iOS上的Greg配对,另一个与我的新朋友Jan Hanneman配对。 他们两个人显然都比我强,这很令人生畏,但我仍然确定我提供了价值。 他们给我的是一个崭新的视角,并专注于说“ YAGNI”并完成功能。 具有讽刺意味的是,如果我引入了一个配对项目,那也是我带来的。

My wife thinks this is hilarious. It's the old relationship joke where your partner says something for years and years, then one day you rush home from work to share this amazing new "insight" from a stranger...the same insight your partner has been sharing all this time.

我妻子认为这很有趣。 这是一个古老的关系笑话,您的伴侣多年以来一直在说些什么,然后有一天您下班回家,与陌生人分享这种令人惊奇的新“见解”……您的伴侣一直以来都在分享同样的见解。

Since I work remotely, all my Pair Programming has to happen over video chat and screen sharing. I use Skype, Lync, Join.me, and whatever else works. We take turns working through features in Trello boards, sharing one person's screen, talking and coding, designing and brainstorming, then commiting to Git, syncing, and switching the share.

由于我是远程工作,因此所有配对编程都必须通过视频聊天和屏幕共享进行。 我使用Skype,Lync,Join.me以及其他任何可用的工具。 我们轮流浏览Trello面板中的功能,共享一个人的屏幕,交谈和编码,进行设计和集思广益,然后致力于Git,同步和切换共享。

This seems to work well for sessions as long as 3 hours, but after that, we get pretty wasted. However the feeling of accomplishment when you work through a problem with a partner is also magnified.

对于长达3个小时的会话来说,这似乎效果很好,但是之后,我们就白白浪费了。 但是,当您与伴侣解决问题时,成就感也会被放大。

Does your coding life get paralyzed? How do YOU work through it?

您的编码生活会麻痹吗? 您如何处理它?

* Photo courtesy of FOCUS100

*照片由FOCUS100提供

翻译自: https://www.hanselman.com/blog/analysis-paralysis-overthinking-and-knowing-too-much-to-just-code

joke整人代码瘫痪

joke整人代码瘫痪_分析瘫痪:过度思考和了解太多代码相关推荐

  1. 代码 抠图_憋再PS抠图了,3行代码给你安排的明明白白!

    首先安装三方依赖removebg,最简单的功能实现如下: from removebg import RemoveBg ​ rmbg = RemoveBg("YOUR-API-KEY" ...

  2. 一行python代码能干_几个小例子告诉你, 一行Python代码能干哪些事

    首先你要了解一下Python之禅,一行代码输出"The Zen of Python": python -c "import this" "" ...

  3. python函数增强代码可读性_写Python必须知道的这几个代码技巧!你会吗?

    Day09 函数的初始 函数:函数是以功能为导向,一个函数封装一个功能.登录,注册,文件的改的操作... 函数减少代码的重复性,增强了代码的可读性: 获取任意一个字符串的元素的个数 s1 = &quo ...

  4. c语言中如何让诊断代码右移_如何检测和诊断生产中的慢代码

    c语言中如何让诊断代码右移 开发人员面临的更困难的任务之一是查找和诊断生产中运行缓慢的代码. 首先,您如何监控生产代码而不放慢速度? 当然,您无法通过分析器运行生产代码. 即使您有计时代码的机制,那么 ...

  5. python代码技巧_几个小技巧让你的Python代码更Pythonic

    Python是一门非常灵活的语言,很多语法是其他语言不具备的,特别是对于从C.Java等语言转向Python的人来说,很容易按照C.Java等语言的写法来写Python,对于初学者来说,如果对Pyth ...

  6. php定时执行代码漏洞_在CTF比赛中发现的PHP远程代码执行0day漏洞

    众所周知,CTF比赛都是人为构造漏洞环境,人为制造安全漏洞,供安全从爱好者研究,好磨练和增强自己的安全技能. 参加CTF比赛,通常你需要明白出题人的想法,按照出题人的意图来解开谜题. 但是,就像所有的 ...

  7. python基础代码技巧_写Python必须知道的这几个代码技巧!你会吗?

    Python是入门容易精通难,大家平时要养成记录的习惯,好的代码要记录下来,学会总结,经常翻一翻会有收获!今天我来分享一些我自己记录的代码结构,欢迎拍砖! 01. 简洁的表达式 点评:Python因为 ...

  8. vue 代码快捷键_你可能不知道的19种运行JavaScript代码工具

    前端日常开发中,我们使用喜爱的 IDE 调试 JavaScript 代码,比如我喜欢的代码编辑器有两个,Sublime Text 3 和 VS Code,前几年还使用过 Atom,偶尔我们会遇到临时需 ...

  9. python实验指导书答案函数代码复用_#Python学习笔记(5)函数和代码重用,复用

    七段数码管绘制 绘制单段数码管 def drawLine(draw): turtle.pendown() if draw else turtle.penup() #将绘制一条线定义为一个基本函数, 参 ...

最新文章

  1. python写入csv(解决了乱码问题)
  2. [置顶] 自己动手实现OpenGL-OpenGL原来如此简单(三)
  3. 大数据日知录要点整理
  4. [Python]新手写爬虫全过程(已完成)
  5. 微软Office 365正式上架Mac App Store
  6. 单独安装想要的office_安装OFFICE不再求人,最省心的方法
  7. php mongo in 查询语句,PHP 怎么执行mongodb 的 $in 和$size查询
  8. Sentinel服务熔断只配置blockHandler_客户自定义限流处理_削峰填谷_流量控制_速率控制_服务熔断_服务降级---微服务升级_SpringCloud Alibaba工作笔记0051
  9. gateway动态路由_微服务中的网关技术:Gateway
  10. 高等代数——大学高等代数课程创新教材(丘维声)——2.3笔记+习题
  11. 微信表情图像代表什么意思_微信的表情都是什么意思(微信表情含义图解大全)...
  12. Markdown:插入图片和图注
  13. JAVA长连接与短连接
  14. C语言变量命名有哪些规则,C语言变量的命名规则都有哪些?
  15. 球半篮球比分,西篮甲:沙萨基 VS 华伦西亚 5月31日
  16. Java web 几种实现在网页页面里播放视频的 插件及方法
  17. Proteus和Keil两个软件的联合使用
  18. 卖服务器销售打广告语句子,卖灯销售广告语
  19. [激光原理与应用-31]:典型激光器 -3- 光纤激光器
  20. workbook需要引入的包_用Java玩转Excel,竟然如此easy~

热门文章

  1. “28岁裸辞,我赚到人生中第一个百万”
  2. 【WINDOWS / DOS 批处理】attrib命令详解(三)
  3. cmake+gtest
  4. Render、RenderChildren和RenderControl
  5. ifstream一次性读取文件的全部内容
  6. 利用docker搭建php7cms靶机
  7. 越南猫年来袭!2023Lazada年货节热销品趋势
  8. 设计模式剖析,授之以渔(java代码)
  9. 涌html编写星空图,canvas实现十二星座星空图
  10. 六、SAR(合成孔径雷达)数据样本标注