3 ms·
I gave up on AI because of that. The old IDEs that use an AST for autocomplete still exist and work very well for allowing me to hit tab and get the correct fu
by bluGill 2y ago
I gave up on AI because of that. The old IDEs that use an AST for autocomplete still exist and work very well for allowing me to hit tab and get the correct function filled in. They are also very good at the little pop-up that tells me details about the parameter I'm trying to fill in really is - the AI has no clue what order the arguments really are and so often gets it wrong. They won't complete 1000 lines of code - but that is only rarely a savings as most 1000 line code snippets I've worked with just as fast to write myself (I've been programming for 30 years) as to figure out how the AI got some details wrong.
If the AI had access to the AST and could know what functions exist they might be helpful. Then they could write that function they wished existed if it doesn't. However that means they need to know how to understand the code not just the structure.