S*******e 发帖数: 525 | 1 先说明,本人的coding水平很一般,下面小事是瞎猫碰到死老鼠。记得本版有个哥们帮
人家把一个网站(要上线的前两天突然什么都不工作了)花了一两天修了一下,挣了几
万块 -- 羡慕他很有两下子。
Coders: how many times did you fix a problem by removing one line of code?
Recently, several guys in my team worked on a problem for a couple of weeks
but went nowhere. I was asked to help. I let them show me what the issue
was and how to reproduce it. By the end of the day I was able to fix the
issue by just removing one line of code!
I recalled a story I read a long time ago about a dash that was worth $10,
000. It looks my fix of removing just one line of code also was worth $10,
000 :-). I searched the internet and did find it:
TIL Henry Ford once balked at paying $10,000 to General Electric for work
done troubleshooting a generator, and asked for an itemized bill. The
engineer who performed the work, Charles Steinmetz, sent this: "Making chalk
mark on generator, $1. Knowing where to make mark, $9,999." Ford paid the
bill。
https://www.reddit.com/r/todayilearned/comments/2b4n7a/til_henry_ford_once_
balked_at_paying_10000_to/ | h****e 发帖数: 2125 | 2 知道怎么reproduce problem居然还不能fix,那几个哥们水平可是值得怀疑。
weeks
【在 S*******e 的大作中提到】 : 先说明,本人的coding水平很一般,下面小事是瞎猫碰到死老鼠。记得本版有个哥们帮 : 人家把一个网站(要上线的前两天突然什么都不工作了)花了一两天修了一下,挣了几 : 万块 -- 羡慕他很有两下子。 : Coders: how many times did you fix a problem by removing one line of code? : Recently, several guys in my team worked on a problem for a couple of weeks : but went nowhere. I was asked to help. I let them show me what the issue : was and how to reproduce it. By the end of the day I was able to fix the : issue by just removing one line of code! : I recalled a story I read a long time ago about a dash that was worth $10, : 000. It looks my fix of removing just one line of code also was worth $10,
| g****t 发帖数: 31659 | 3 我以前遇到过有一次一小点c code出问题。好多人一起看,最后是一个俄罗斯年轻人查
到的问题。 | l******n 发帖数: 9344 | 4 不能rollback到以前working的version?
weeks
【在 S*******e 的大作中提到】 : 先说明,本人的coding水平很一般,下面小事是瞎猫碰到死老鼠。记得本版有个哥们帮 : 人家把一个网站(要上线的前两天突然什么都不工作了)花了一两天修了一下,挣了几 : 万块 -- 羡慕他很有两下子。 : Coders: how many times did you fix a problem by removing one line of code? : Recently, several guys in my team worked on a problem for a couple of weeks : but went nowhere. I was asked to help. I let them show me what the issue : was and how to reproduce it. By the end of the day I was able to fix the : issue by just removing one line of code! : I recalled a story I read a long time ago about a dash that was worth $10, : 000. It looks my fix of removing just one line of code also was worth $10,
| S*******e 发帖数: 525 | 5 新项目。。。是一开源系统,项目有特殊需要,要加一新功能。他们觉得能够做到,但
怎么也过不了。
【在 l******n 的大作中提到】 : 不能rollback到以前working的version? : : weeks
|
|