5 ms·
Sure thing. I work on a few projects for my company. The main one is an Android and iOS audiobook-media-player app. I had to update the Android side to use the
by alexwhb 9mo ago
Sure thing. I work on a few projects for my company. The main one is an Android and iOS audiobook-media-player app. I had to update the Android side to use the Google Media3 library instead of the legacy ExoPlayer library. In a typical app this would be pretty straightforward, but we’ve mixed in a lot of custom elements that made the transition quite challenging. I actually attempted it manually back in the day and probably spent three or four days on it, but I simply didn’t have time to finish, so I shelved it. A few months ago I tried again in Codex; within two prompts it was done flawlessly and starting from the beginning.
Another example: I also maintain the back-end API for these apps. There was a lot of old utility code that was messy, unorganized, and frankly gross. I had Codex completely reorganize the code into a sensible folder structure and strip out any functions that weren’t being used anymore—something like 300-plus functions. Doing that by hand would easily have taken a day or more
I could go on, but those were the two initial “aha” moments that showed me how powerful this tool can be when it’s used for the right tasks.
- newsoftheday 9mo ago> strip out any functions that weren’t being used anymore—something like 300-plus functions. Doing that by hand would easily have taken a day or more Any decent IDE can do that refactoring instantly. > I could go on Clearly.
- deleted 9mo ago[deleted]
- andrekandre 9mo ago> Any decent IDE can do that refactoring instantly. its an interesting point that got me thinking: at what point does all of this just boil down to dev ux/ide features, and does this need to run on the server (as economic rents) vs just locally?
- nurettin 9mo ago> Any decent IDE can do that refactoring instantly. The refactoring? Sure. But IDEs don't read your code and logically categorize it into folders. From what I understand, they are saying that they outsourced the thinking part as well.
- jimbo808 9mo ago> I can point to many examples > ...easily a week or more Got any examples worth "easily a week or more?"
- enraged_camel 9mo agoNot the OP but I just got done with a codebase-wide re-architecture (driven by a need for a complex data migration) in a little ~2.5 weeks. 800+ files changed, 60k+ line diff. Without AI it would have taken me several months, and that is only if I managed to avoid burnout. The vendor quotes we got just to see if we could outsource the work were all six figures.
- jimbo808 9mo agoDid you thoroughly review the 60k line diff?
- enraged_camel 9mo agoYes, every line.
- alexwhb 9mo agoHa.. I did the same thing. Massive speed boost for things like this.
- alexwhb 9mo agoYa migrated about 50% of a code base to a new architecture from a legacy architecture. I've seen a massive speed improvement in my app since doing this and significantly less bugs. The code base is probably on the order of 150,000 lines of code or so. This refactor took about a week with AI... this would have taken easily a month or more if I did this myself. I also had AI write me a bunch of tests that never before existed in this codebase. Obviously these tests aren't perfect, but neither would mine be if I wrote them by hand.