4 ms·
Depends what you are doing and how much code. Especially if you work with new frameworks or apis ChatGPT is extremly helpful. I think especially on small code s
by MichaelRazum 3y ago
Depends what you are doing and how much code. Especially if you work with new frameworks or apis ChatGPT is extremly helpful. I think especially on small code snippets it is strong. Guess you would have to give an example, what you tried and what you got...
- skummetmaelk 3y agoI can see the argument for using it with frameworks and libraries as it can discover the library functions that do what your prompt describes for you. It seems to have a lot of trouble with building code that works in a certain way. For example if you ask it to build a simple graph container with access functions that give you iterators over neighbourhoods of nodes or whatever it makes a mess. Sometimes it technically works, but the underlying graph datastructure is just ripped out of randomseocodingsite.com using nodes owning pointers to their connected nodes. If you ask it to use a specific underlying structure like a vector of nodes and indexes to represent edges it doesn't quite know what to do. So yes, I guess the initial implementation "works", but not well.
- hutzlibu 3y agoUnless it is too new. For wgsl and webgpu, ChatGPT4 is quite useless. To be fair, the spec is still changing, but this means, that ChatGPT4 will mix in various incompatible bits. I hope they handtune it.
- danielvaughn 3y agoI started learning Rust last week, and figured I could let copilot help me out a bit. Spent a while trying to get a very simple example to compile, with no luck. So even for a 5 year old language, it derps it up.