As a developer, comments that talk about how ChatGPT is changing the development game confuse the hell out of me. What are you people doing that ChatGPT makes your workflow massively more productive?
- It gets documentation/help wrong or straight-up makes shit up
- Same thing with having it generate actual code
- If “generating code I’d normally copy/paste” is such a game changer, your architecture/design needs a rework
- Yes, even for tests (seriously, we’ve had ways to pass arrays of inputs into tests for years, having it copy/paste the same test a hundred times with different values is fucking atrocious)
- Code “assistant” suggestions have been fucking horrid from my experience with them (and I end up disabling it every time I give it a try)
Lmaydev@programming.dev 11 months ago
When using any new language or framework I can get up and running very quickly.
Used to take time to read the intro docs and then start digging around trying to find the features I need. Now I can straight ask it how to do certain things, what is supported and the best practises.
If I see a block of code I don’t understand I can ask it to explain and it will write out line by line what it’s doing. No more looking for articles with similar constructs or patterns.
It’s amazing at breaking down complex SQL.
Many tedious refactoring tasks can be done by it.
Creating mappers between classes is very good because it can easily pickup matching properties through context if types and names don’t match.
Generating class from a db table and vice versa.
If you have a specific problem to solve rather than googling around for other solutions you can ask it for existing methods. This can save days or more of discovery and trial and error.
It’s really good generating test cases based on a method.
As for the mistakes you should be able to spot them and ask it to correct. If it does something invalid tell it that and it will correct.
You have to treat it like a conversation not just ask it questions.
Like Google you have to learn how to use it correctly.
We also have bing enterprise which uses search results and sources its answer. So I can look at the actual web result and read through.
ZahzenEclipse@kbin.social 11 months ago
As a newer developer is has been amazing for me and alot of experienced developers also recognize how much benefit it provides so im honestly confused by your standpoint.
Lmaydev@programming.dev 11 months ago
You’ll find the old guard hates change and will shit on things like this without even trying them.
Whoresradish@lemmy.world 11 months ago
When I google an issue I quickly get a list of possible solutions with other developers commenting on them with corrections. People can often upvote and downvote answers to indicate if they work or not and if they stop working.
With ai I get a single source of information without the equivalent to peer review. The answer may be out of date and it may misunderstand my request. It may also make the same mistake I am making that I would have caught with a quick googling.
The ai may be able to make boilerplate code occasionally without too much rework, but boilerplate code is not that hard to make already.
The AI is massively more expensive than a search engine and I have not seen any indication that will change soon. This is the biggest problem in my mind. I don’t ever expect to have to pay for google. I expect in the future the ai will need to be paid for somehow and I have a feeling they will have to charge too much to justify the use of AI for software development work.
AI has plenty of good uses, but I do not believe software development is the winner. Block chain for instance was massively useful for git repositories, but not useful for many of the crazy things companies attempted to use it for.
Lmaydev@programming.dev 11 months ago
If you use bing search AI it sources its answers. It basically does what you would do when looking through sources and at ratings.
It’s also free I believe.
Whoresradish@lemmy.world 11 months ago
Right now AI like that is heavily subsidized by investors. My concern with AIs feasibility is that training is so expensive that it won’t be able to stay free. Also if the AI can source its answer with a link, did it provide me with a new service that is better than a search engine?