It's time to get rid of estimates in software engineering. They don't work, do more harm than good, and drive people to act in dishonest ways.
Buckle up people, it's a thread.
"How long is this going to take?" feels like a completely reasonable question, but how come "I don't know" isn't a
reasonable answer?
"We just need a ballpark figure, you won't be held to it," they lie.
Well how come we just had to work the weekend?
Sep 15, 2020 • 6 tweets • 2 min read
I always call into a run function from main in #golang passing in any system dependencies as arguments.
If I am going to parse flags, use arguments, and write to stdout, my run func looks like this:
func run(args []string, stdout io.Writer) error
pace.dev/blog/2020/02/1…
1/6
This means I can write normal Go tests that can call the run function, and there's no global state to mess around with.
This is the best PR I've ever opened. Someone has a PDF of my book in their GitHub repo.
UPDATE: the PR got merged 😂🥳
To celebrate I am going to BUY five copies of my own book (Go Programming Blueprints: Second Edition) for anyone who wants, it but can’t get it themselves.
Reply if interested and I’ll abuse a Go map to randomly pick five winners.