Re: copilot

Michael Kay <[email protected]> Thu, 7 Dec 2023 09:41:14 +0000
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
>=20
> Interesting reading.
>=20
> "a year after the tool's general release -- found that programmers
> accepted on average around 30% of its suggestions,"
>=20

I probably accept a higher proportion than that of IntelliJ's suggested =
improvements to my Java code. It's very good at mechanical tasks like =
detecting near-duplicate code and generating a reusable method from it, =
an it's scarily good at guessing that if I want to initialise a variable =
called languageVersion then I probably want to get the value from =
getStaticContext().getPackage().getHostLanguage().getVersion(). It =
illustrates just how repetitive a lot of our coding is.

And of course, it's just like self-driving cars. When it gets it right =
99% of the time, we'll start getting lazy and not notice when it's =
getting it wrong, with fatal consequences.

Michael Kay
Saxonica


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php