by TekMol · 1y ago · 0 comments
Yes, I spend time on writing prompts. Like "Never do this. Never do that. Always do this. Make sure to check that.". To tell the AI my coding preferences. Bot those prompts are forever. And I have written most of them months ago, so that now I just capitalize on them.
Like, just stop and think about it for a second. You're saying that AI has doubled your productivity. So, you're actually getting twice as much done as you were before? Can you back this up with metrics?
I can believe AI can make you waaaaaaay more productive in selective tasks, like writing test conditions, making quick disposable prototypes, etc, but as a whole saying you get twice as much done as you did before is a huge claim.
It seems more likely that people feel more productive than they did before, which is why you have this discrepancy between people saying they're 2x-10x more productive vs workplace studies where the productivity gain is around 25% on the high end.
I see it happening right in front of my eyes. I tell the AI to implement a feature that would take me an hour or more to implement and after one or two tries with different prompts, I get a solution that is almost perfect. All I need to do is fine-tune some lines to my liking, as I am very picky when it comes to code. So the implementation time goes down from an hour to 10 minutes. That is something I see happening on a daily basis.
Have you actually tried? Spend some time to write good prompts, use state of the art models (o3 or gemini-2.5 pro) and let AI implement features for you?
So, even if AI helps you write code twice as fast, it does not mean that it makes you twice as productive in your job.
Then again, maybe you really have a shitty job at a ticket factory where you just write boilerplate code all day. In which case, I'm sorry!
I think of it like a sort of coprocessor that's dumber in some ways than my subconscious, but massively faster at certain tasks and with access to vastly more information. Like my subconscious, its output still needs to be processed by my conscious mind in order to be useful, but offloading as much compute as possible from my conscious mind to the AI saves a ton of time and energy.
That's before even getting into its value in generating content. Maybe the results are inconsistent, but when it works, it writes code much more quickly than any human could possibly type. Programming aside, I've objectively saved significant amounts of time and money by using AI to help not only review but also revise and write first drafts of legal documents before roping in lawyers. The latter is something I wouldn't have considered worthwhile to attempt in most cases without AI, but with AI I can go from "knowing enough to be dangerous" to quickly preparing a passable first draft on my own and having my lawyers review the language and tighten up some minor details over email. That's a massive efficiency improvement over the old process of blocking off an hour with lawyers to discuss requirements on the phone, then paying the hourly rate for them to write the first draft, and then going through Q&A/iteration with them over email. YMMV, and you still need to use your best judgement on whether trying this with a given legal task will be a productive use of time, but life is a lot easier with the option than without. Deep research is also pretty ridiculous when you find yourself with a use case for it.
In theory, there's not really anything in particular that I'd say AI lets me do that I couldn't do on my own*, given vastly more hours in the day. In practice, I find that I'm able to not only finish certain tasks more quickly, but also do additional useful things that I wouldn't otherwise have done. It's just a massive force multiplier. In my view, the release of ChatGPT has been about as big a turning point for knowledge work as computers and the Internet were.
*: Actually, that's not even strictly true. I've used AI to generate artwork, both for fun/personal reasons and for business, which I couldn't possibly have produced by hand. (I mean with infinite time I could develop artistic skills, but that's a little reductive.) Video generation is another obvious case like this, which isn't even necessarily just a matter of individual skill, but can also be a matter of having the means and justification to invest money in actors, costumes, props, etc.
I think it depends a lot on what you work on. There are tasks that are super LLM friendly, and then there are things that have so many constraints that LLM can basically never get it right.
For example, atm we have some really complicated pieces of code that needs to be carefuly untangled and retangled to accomodate a change, and we have to be much more strategic about it to make sure we don't regress anything during the process.
For greenfield "make me a plain JS app that does X" yeah usually it is just able to do a small app that I describe in under 10 mins where I most likely would take far more than an hour to implement as well as just AI does.
For "hey I do have an app in framework X, implement feature that would take me less than 30 mins" - it might hit some issue and loop hanging on its own mistakes, hallucinate dependencies, hallucinate command line parameters and get stuck or just messing whole files. When such things happen I drop it do 'git reset --hard' and move on my own because trying to fix stuff by leading it usually ended up taking me hours fiddling with AI and not progressing on task.
But I also tried to make a greenfield apps with react and angular instead of just "plain JS" and that also mostly went bad getting stuck on some unsolvable issues that I would not have just using default templates/generators on my own.
But working on features that can fit within a timebox of "an hour or more" takes up very little of my time.
That's what I mean, there are certain contexts where it makes sense to say "yeah, AI made me 2x-10x more productive", but taken as a whole just how productive have you become? Actually being 2x productive as a whole would have a profound impact.
working on features that can fit
within a timebox of "an hour or
more" takes up very little of my time
What would be something that can't be broken down into one-hour tasks? Can you give a concrete example?That said, when I had to write a Terraform project for a backend earlier this year, that’s when generative AI really shined for me.
There is a lack of training data; Apple docs arent great or really thorough, much documentation is buried in WWDC videos and requires an understanding of how the APIs evolved over time to avoid confusion when following stackoverflow posts, which confused newcomers as well as code generators. Stackoverflow is also littered with incorrect or outdated solutions to iOS/Swift coding questions.
I do full stack projects, mostly Python, HTML, CSS, Javascript.
I have two decades of experience. Not just my work time during these two decades but also much of my free time. As coding is not just my work but also my passion.
So seeing my productivity double over the course of a few months is quite something.
My feeling is that it will continue to double every few months from now on. In a few years we can probably tell the AI to code full projects from scratch, no matter how complex they are.
With swift it was somewhat helpful but not nearly as much. Eventually stopped using it for swift.
For me it’s been up to 10-100x for some things, especially starting from scratch
Just yesterday, I did a big overhaul of some scrapers, that would have taken me at least a week to get done manually (maybe doing 2-4 hrs/day for 5 days ~ 15hrs). With the help of ChatGPT, I was done in less than 2 hours
So not only it was less work, it was a way shorter delivery time
And a lot less stress
But, it did require passing tests
Most of the changes in the end were relatively straightforward, but I hadn’t read the code in over a year.
The code also implemented some features I don’t use super regularly, so it would’ve taken me a long time to load everything up in my head, to fully understand it enough, to confidently make the necessary changes
Without ai, it would have also required a lot of google searches finding documentation and instructions for setting up some related services that needed to be configured
And, it would have also taken a lot more communication with the people depending on these changes + having someone doing the work manually while the scrapers were down
So even though it might have been a reduction of 15hrs down to 1.5hrs for me, it saved many people a lot of time and stress
Personally, I do try to keep a comment at the top of every major file, with a comment with bullets points, explaining the main functionality implemented and the why
That way, when I pass the code to a model, it can better “understand” what the code is meant to do and can provide better answers
(A lot of times, when a chat session gets too long and seems like the model is getting stuck without good solutions, I ask it to create the comment, and then I start a new chat, passing the code that includes the comment, so it has better initial context for the task)
Have you tested them across different models? It seems to me that even if you manage to cajole one particular model into behaving a particular way, a different model would end up in a different state with the same input, so it might need a completely different prompt. So all the prompts would become useless whenever the vendor updates the model.
I read each line of the commit diff and change it, if it is not how I would have done it myself.
I let the AI implement features on its own, then look at the commit diffs and then use VIM to finetune them.
I wrote my own tool for it. But I guess it is similar to cursor, aider and many other tools that do this. Also what Microsoft offers via the AI "edit" tool I have seen in GitHub codespaces. Maybe that is part of VScode?