2 ms·
I’ve found it amazing for mundane parts of Rails. There’s a bunch of stuff that I can’t remember for the life of me if: * it’s abstracted/generalized by Rails
by SkyPuncher 3y ago
I’ve found it amazing for mundane parts of Rails.
There’s a bunch of stuff that I can’t remember for the life of me if:
* it’s abstracted/generalized by Rails
* it’s a common type
* it’s a pass through type
For example, writing a migration, I may involve all 3 of those
* default database types
* some paused database types that get abstracted for various database compatible
* rails concepts, like references (rather than foreign keys)
A lot of this is frustrating to track down in documentation, but OpenAI does it really well.
- wvenable 3y agoChatGPT is absolutely wonderful at the mundane. I tried to get it solve a complex problem and it failed miserably but it did produce all the boilerplate around the problem that was perfectly usable. I sort of a fear a future where the sheer volume of code has increased dramatically because people are pasting code from AI rather than re-using functions and libraries. I've already used it to generate SQL code that was too long to do correctly by hand. Usually I find that a sign of a code smell and I should look for an entirely different solution but it worked and I didn't have to write it. Ironically even ChatGPT thought the output was too long and had to be coaxed into giving me the whole thing.