General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Immudzen
theSeniorDev
comments
Comments by "Immudzen" (@Immudzen) on "theSeniorDev" channel.
Previous
1
Next
...
All
This is actually a huge issue. What I notice is that senior devs use the AI to help with small functions and as basically a way to look up APIs quickly. Junior devs end up using it for design and it is bad at that and they don't learn. It is like giving a kid a calculator instead of teaching them basic math. Without that understanding they just can't go any further.
2
Honestly what I find AI tools work best on is for very narrow things. If I make a function where I give it a good name, good parameters, and define the return value and I know that it should take less than 10 loc then copilot will usually get it at least 90% correct. I will then make a unit test for it and then verify if it is correct or not and the move on to the next one. I spend almost no time debugging because if something is wrong it is just faster to add unit tests as I go to test each part to trace down what is wrong and then it can't happen again. What I notice that junior engineers do is they have vague function names, they don't know what the input and output parameters should be and based on the name the scope of the function is far too large and it would cause the model to generate far too much code which won't work.
1
@eduardreisig5582 I do a combination. Some tests are so simple that while I am writing the name of the test copilot manages to fill in the test body the same way I would have done it. Other times I will accept and then edit and other times I write it comletely myself. I use pytest and fixtures and copilot tries to copy the kind of code you are already writing so once it sees the fixtures I am using and the pattern of how I test the code it does a pretty decent job of following up.
1
@karlwest437 it will get the structure correct and it saves me having to look up some library call. I don't remember all the methods of dataframes, numpy arrays, scipy functions etc. but copilot can get those right almost every time so that still saves me time of having to look it up and then get back to coding. Also 10 loc and it taking maybe 1 second to generate it still saves quite a lot of time.
1
Previous
1
Next
...
All