News for hackers. Stuff that matters.
Re:Become a 1000x engineer or die tryin by classified on Wednesday March 29, 2023 @09:27AM (#35356985)
... if churning out boilerplate is your definition of "productive".
Re:Become a 1000x engineer or die tryin by lubujackson on Wednesday March 29, 2023 @09:35AM (#35357074)
If churning out boilerplate is what your employers sees as product, does it really matter? Coding udeals are valuable in a vacuum but most companies want those PRs merged, technical debt be damned.
Re:Become a 1000x engineer or die tryin by swexbe on Wednesday March 29, 2023 @09:59AM (#35357374)
If this is the case they need to up their abstraction game.
Re:Become a 1000x engineer or die tryin by noobermin on Wednesday March 29, 2023 @09:35AM (#35357075)
Isn't most code boilerplate belts out the choir.
Re:Become a 1000x engineer or die tryin by xdavidliu on Wednesday March 29, 2023 @09:40AM (#35357132)
what?
Re:Become a 1000x engineer or die tryin by SuoDuanDao on Wednesday March 29, 2023 @09:51AM (#35357279)
"Isn't most code boilerplate?" belts out the choir/peanut gallery/greek chorus
Re:Become a 1000x engineer or die tryin by Zach_the_Lizard on Wednesday March 29, 2023 @10:03AM (#35357445)
Churning out boilerplate is a large part of the job. The quality of that boilerplate is part of what makes great engineers great engineers.

Knowing when and how to use dependency injection, making code testable, what to instrument with logs and stats, how and when to build extensible interfaces, avoiding common pitfalls like race conditions, bad time handling, when to add support for retries, speculative execution, etc. are part of parcel of what we do.

If ChatGPT can help raise the quality of work while also increasing its quantity, that'll be a huge leap in productivity.

It's not all there yet, but I've been using it to write some simple programs that I can hand out to ops / business people to help automate or validate some of their tasks to ensure the smooth rollout of a feature I've developed.

The resulting ChatGPT code--I chose Go because I can hand over a big fat self contained binary--avoids certain subtle pitfalls.

For example, the Go HTTP client requires that you call Close() on a response body, but only if there's no error.

The code it spat out does indeed do that correctly. And it's well documented.

It's far from perfect; I've seen a subtle mistake or two in my playing around with it.

I'm now no longer so much an author but an editor for basic stuff. I now have my own dedicated engineer with a quality level that oscillates wildly between fresh intern and grizzled veteran.

It'll only get better over time.