News for hackers. Stuff that matters.
Re:GitHub Copilot as open source code laundering? by fckthisguy on Wednesday June 30, 2021 @02:16PM (#27691793)
Whilst I absolutely agree that writing code fast enough isn't the bottleneck, it's always nice to have tools that reduce repeat code writing.

I use the React plugin for Webstorm to avoid having to write the boilerplate for FCs. Maybe in the future Copilot will replace that usage.

Re:GitHub Copilot as open source code laundering? by ImprobableTruth on Wednesday June 30, 2021 @05:10PM (#27693446)
To me that - and really any form of common boilerplate - is just evidence that we're lacking abstractions. If your editor is generating code for you, that means that the 'real' programming language you're using 'in your head' has some metaprogramming facilities emulated by your IDE.

I think we should strive to improve our programming languages to make less of this boilerplate necessary, not to make generating boiler plate easier. The latter is just going to make software less and less wieldy. Imagine the horror if instead of (relatively) higher level programming languages like C we were all just using assembly with code generation.

Re:GitHub Copilot as open source code laundering? by kemitchell on Wednesday June 30, 2021 @09:31PM (#27695447)
In a very real sense, we are all just using assembly with code generation.

I really like your point on symptoms of insufficient abstraction. I do worry that we always see abstraction as belonging in language. Which in turn we treat as a precious singleton, and fight about.

At least in my own hacking, I'm surprised how infrequently I see programmers write programs that write programs. I'm surprised how infrequently I see programmers programming their shell, editor, or IDE.

Re:GitHub Copilot as open source code laundering? by catlifeonmars on Wednesday June 30, 2021 @09:39PM (#27695485)
I’ve read this argument before and I don’t buy it. Boilerplate is an emergent property of composable abstractions.