[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Bad GPT
From:       David Cortesi <davecortesi () gmail ! com>
Date:       2023-05-03 21:15:57
Message-ID: CALyzANu6sEHosshXYY_08mqvGis4Wn3Poc5KJuTZZHbx734dEw () mail ! gmail ! com
[Download RAW message or body]

At the risk of boring the list, I went to chatGPT4 and asked it to compose
a PyQt6 class of PlainTextEdit with find/replace dialog.

It also gave me repeated issues with name references, for example it seems
to be confusing QPlainTextEdit with QText Cursor, writing code such as this:

next_match = cursor.movePosition(QPlainTextEdit.WordRight,
>                                              QPlainTextEdit.KeepAnchor)
>

It also messes up the Qt6 lengthy reference strings for Qt enums and
constants.

All these mistakes would be both annoying and confusing to a novice. They
require repeated trips to doc.qt.io to figure out what the 'bot is trying
to say.

[Attachment #3 (text/html)]

<div dir="ltr"><div>At the risk of boring the list, I went to chatGPT4 and asked it to compose \
a PyQt6 class of PlainTextEdit with find/replace dialog.</div><div><br></div><div>It also gave \
me repeated issues with name references, for example it seems to be confusing QPlainTextEdit \
with QText Cursor, writing code such as this:</div><div><br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div>next_match = \
cursor.movePosition(QPlainTextEdit.WordRight,<br>                                               \
QPlainTextEdit.KeepAnchor)</div></blockquote><div><br></div><div>It also messes up the Qt6 \
lengthy reference strings for Qt enums and constants.</div><div><br></div><div>All these \
mistakes would be both annoying and confusing to a novice. They require repeated trips to <a \
href="http://doc.qt.io">doc.qt.io</a> to figure out what the &#39;bot is trying to \
say.</div><div>  <br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic