zlacker

[parent] [thread] 23 comments
1. nunodo+(OP)[view] [source] 2023-02-09 12:20:21
I can say with a certain degree of confidence that you haven't actually used CoPilot daily.
replies(6): >>moreli+21 >>capabl+c1 >>sbilst+d1 >>naillo+G1 >>dual_d+V1 >>postex+73
2. moreli+21[view] [source] 2023-02-09 12:26:16
>>nunodo+(OP)
This is such a bullshit answer. No, I don't use it daily because I tried it for a couple hours and it suggested nothing useful and several harmful. Why would I keep using it?
3. capabl+c1[view] [source] 2023-02-09 12:27:15
>>nunodo+(OP)
I've worked with teams that used Copilot. They claim it's great "Hey, now I don't have to actually spend any time writing all this boilerplate!" while for me, the person who has to review their code before releasing stuff, easier ways of writing boilerplate is not a positive, it's a negative.

If writing boilerplate becomes effortless, then you'll write more of it, instead of feeling the pain of writing it and then trying to reduce it, because you don't want to spend time writing it.

And since Copilot was accepted as a way to help the developers on the teams, the increase of boilerplate have been immersive.

I'm borderline pissed, but mostly at our own development processes, not at Copilot per se. But damn if I didn't wish it existed somehow, although it was inevitable it would at one point.

replies(5): >>kristi+z5 >>tomrod+u6 >>Champa+97 >>tuxrac+ej >>TooLaz+wo
4. sbilst+d1[view] [source] 2023-02-09 12:27:23
>>nunodo+(OP)
Yep. I’m personally skeptical of so many other use cases for LLMs but CoPilot is fantastic and basically just autocomplete on rocket fuel. If you can use autocomplete, you can use CoPilot super effectively.
replies(1): >>weeksi+Sd
5. naillo+G1[view] [source] 2023-02-09 12:30:44
>>nunodo+(OP)
I've used it quite a lot and I agree with the original post. It seemed really useful at first but then it started introducing several bugs in large blocks of code. I've stopped using it in the end since the small snippets on the one line size is trivial enough to write myself (with just vim proficiency) and the larger blocks on the order of a function autocomplete is too bug prone (and kills too much willpower budget to fix).
6. dual_d+V1[view] [source] 2023-02-09 12:32:18
>>nunodo+(OP)
I haven't. Now you know for a fact :)

What I have seen about it ranged from things that can be nearly just as well handled by your $EDITOR's snippet functionality to things where my argument kicked in - I have to verify this generated code does what I want, ergo I have to read and understand something not written by me. Paired with the at least somewhat legally and ethical questionable source of the training data, this is not for me.

replies(1): >>Otek+94
7. postex+73[view] [source] 2023-02-09 12:38:41
>>nunodo+(OP)
I can say with a higher degree of confidence that you haven't actually used CoPilot daily for any respectably sized project.
replies(1): >>nunodo+QcC
◧◩
8. Otek+94[view] [source] [discussion] 2023-02-09 12:44:38
>>dual_d+V1
So stop evangelizing about stuff you haven’t used. Understanding code is easier than writing it from the scratch. That’s why code review doesn’t take as much time as writing code and you still need to prove your code works, even if you wrote it yourself.
replies(4): >>dual_d+Z4 >>selbyk+15 >>argiop+H5 >>dakom+Ra
◧◩◪
9. dual_d+Z4[view] [source] [discussion] 2023-02-09 12:50:47
>>Otek+94
I am not evangelizing, I am just stating why this is not for me and my way to write software.
◧◩◪
10. selbyk+15[view] [source] [discussion] 2023-02-09 12:51:04
>>Otek+94
Understanding code is only easier for simple tasks. I've definitely had copilot spit out complex algorithms that looked right at first glance but actually had major issues that required me to write it from scratch.
replies(1): >>Otek+rc
◧◩
11. kristi+z5[view] [source] [discussion] 2023-02-09 12:54:46
>>capabl+c1
>the increase of boilerplate have been immersive

Has it really? Or are you worried that this is something that will happen?

Of course I don't know how other people use it but I find that it's very much like having a fairly skilled pair programmer on board. I still need to do a lot of work but I get genuine help. I don't find that I personally write more boilerplate code than before, every programming principle applies as it always has.

replies(1): >>capabl+cd
◧◩◪
12. argiop+H5[view] [source] [discussion] 2023-02-09 12:55:50
>>Otek+94
I contend understanding the semantics of code is harder than writing the syntax. Reading the syntax without thinking deeply (to the level needed to write it, or deeper) seldom helps you realize unexpected corner cases. This is why stochastic testing is so valuable.

ad.: Code review takes less time than writing code for the same reason reading a book takes less time than writing one. Distillation and organization of ideas requires expertise gained through experience and long thought. Reading a book requires reading ability.

Understanding a book (and the intricacies underlying it) takes effort on the order of the original writing, but most people don't seek that level of understanding. The same is true of code.

◧◩
13. tomrod+u6[view] [source] [discussion] 2023-02-09 12:59:22
>>capabl+c1
I feel ya. If your job is to kick back bad code, and now there is a tool that generates bad code, how does this not make your job more important?

Why not get some of the freed up, Copilot augmented developer labor budget moved to testing and do more there or build more tools to make your personal, boilerplate, repetitive tasks more efficient?

If the coders are truly just dumping bad code your way, that's an externality and the cost should be called out.

◧◩
14. Champa+97[view] [source] [discussion] 2023-02-09 13:03:22
>>capabl+c1
I use github copilot on a daily basis and it improves my time from thinking to code.

Often I have times where I'm think about a specific piece of code that I need and I have it partially in my head and github copilot "just completes" it. I press tab and that's it.

I'm not talking about writing entire functions where you have to mentally strain yourself to understand what it wrote.

But I've never seen any autocompleter do it so good then github copilot. Even for documentation purposes like JSdoc and related commenting system it's amazing.

It's a tool I pay for now since it's proven to be a tool that increases my productivity.

Is it gonna replace us? I hope not, but it does look promising as one of those tools people will talk about in the future.

◧◩◪
15. dakom+Ra[view] [source] [discussion] 2023-02-09 13:25:08
>>Otek+94
Code review often takes me longer than writing code. More generally, reading other people's code is more difficult for me than writing (or reading) my own.
◧◩◪◨
16. Otek+rc[view] [source] [discussion] 2023-02-09 13:35:23
>>selbyk+15
Thats why you test, this could also happen with code you wrote so it’s not an argument against copilot. Did you wrote your “complex algorithm” and then run and debugged it in your head? No, you’ve tested it. Do the same with Copilots code
replies(1): >>cmccon+uh
◧◩◪
17. capabl+cd[view] [source] [discussion] 2023-02-09 13:40:24
>>kristi+z5
I wrote it in past tense, it's based on actual situations :) If you don't believe what I write, I guess it doesn't matter what I write now. Regardless.

One simple example that I've had to reject more than once.

- Function 1 does something

- Developer needs something like Function 1 but minor change

- Developer starts typing name of function which has a similar name to Function 1, but again, minor difference

- Copilot helpfully suggests copy-pasting Function 1 but with the small change incorporated

- Developer accepts it, commits and sends the patch my way

Rather than extracting the common behavior into it's own function and call that from both of them, refactors which Copilot doesn't suggest, the developers is fine with just copy-pasting the function.

Now we have to maintain two full slightly different functions, rather than 1 full functions + 2 minor ones.

Obviously a small example, and it wouldn't be worth extracting it the first time it happens or on a smaller scale. But once you have entire teams doing something like this, it becomes a bit harder to justify copy-paste approach, especially when you want the codebase not to evolve to complete spaghetti.

And finally, I'm not blaming the tool, it's not Copilots fault. But it does seem to have made developers who rely on it think less, compared to the ones that don't.

◧◩
18. weeksi+Sd[view] [source] [discussion] 2023-02-09 13:43:34
>>sbilst+d1
I almost always turn autocomplete off except in circumstances where the API has bad documentation. I also found that copilot was an aggravation more than a help after using it for a couple weeks.
replies(1): >>mlboss+Rk
◧◩◪◨⬒
19. cmccon+uh[view] [source] [discussion] 2023-02-09 14:00:13
>>Otek+rc
If testing is the equalizer, there is no difference between black box code and something you fully understand. Which fair enough, is how ML works in general.
◧◩
20. tuxrac+ej[view] [source] [discussion] 2023-02-09 14:09:05
>>capabl+c1
It would be helpful if people could include in their assessment roughly how much time they've personally spent using these tools.

Helping write boilerplate is to Copilot what cropping is to Photoshop.

Some of the ways I've found Copilot a powerful tool in my toolbox: Writing missing comments (especially unfamiliar code bases), "translating" parts of unfamiliar code to a more familiar language, suggesting ideas for how to implement a feature (!) in comments.

◧◩◪
21. mlboss+Rk[view] [source] [discussion] 2023-02-09 14:15:53
>>weeksi+Sd
We programmers enjoy writing code. We derive satisfaction when a code is perfect and elegant. But its going to end very soon. Artists are freaking out because things that takes them days to create now only take 2 seconds. We are next.

The writing is on the wall. Programming as we know it is going to end. We should be embracing these tools and should start moving from software developers to software architects role.

replies(1): >>weeksi+Ur
◧◩
22. TooLaz+wo[view] [source] [discussion] 2023-02-09 14:29:16
>>capabl+c1
you could stop doing code reviews and do something else
◧◩◪◨
23. weeksi+Ur[view] [source] [discussion] 2023-02-09 14:42:05
>>mlboss+Rk
I don't think you're getting what I'm saying. I'm _faster_ without autocomplete
◧◩
24. nunodo+QcC[view] [source] [discussion] 2023-02-20 16:36:20
>>postex+73
oops, you are wrong :)
[go to top]