|
|
|
|
|
by eternityforest
592 days ago
|
|
If AI doesn't understand something I assume it's too clever, even if I do get the AI to figure it out I won't understand it in a month and other devs won't understand it at all unless I somehow convince them to read the code(Like as if that's going to happen!). I think it's definitely improved my own code, because it's like always working with a pair programmer, who represents a very average developer with insane typing speed. I think you kind of subconscious pick up the style like you would learn a literary style by reading books. With Codeium what usually works is writing a prompt inline as a very descriptive comment. For a non critical piece of a personal project, I think this section is the most impressive thing I've gotten AI to do: ```
float getFilterBlendConstant(float tc, float sps){
return 1.0f - exp(-1.0f / (tc * sps));
}
float fastGetApproxFilterBlendConstant(float tc, float sps){
return 1.0f - (tc * sps) / (tc * sps + 1.0f);
}
``` |
|
code is read more often than its written. I spend maybe 60-70% of my time reading code when I'm "writing code". I don't think it will take much convincing if you're working on a project with others.