I agree the future of GPT-X models as coding tools is bright. But for actually doing engineering work outside coding (or even delicate changes in an existing code base) much less so.
ChatGPT, on spaces vs tabs: https://chat.openai.com/share/b2b0be49-54f9-4f73-a753-3edbd1...
1. It picks very good variable names
2. Clean, nicely structured code
3. Vast amount of knowledge where even a senior engineer still needs to look up stuff (I don't know about you, but I have a terrible memory. ChatGPT clearly has excellent memory about API's, regexes, etc.). It's the "I don't even have to look at the docs or StackOverflow for this" type of knowledge.
4. It's fast, like very fast, like "I don't even have to think about it and just type it out perfectly like a maniac".
It's an excellent complement to a strong programmer, who will have incredible depth -- and may have breadth relative to other coders, but will be very narrow in the whole space of programming.
Just don't use it for things you're already an expert on, except perhaps for starting out / bypassing boilerplate.
It’s writing fault tolerant data scraping scripts for me I don’t know how to write myself.
Anything over ~100LoC and it gets sloppy including it all in the code block. Which is fine, because I don't need it in your context window if that bit is working and you're not relying on it.
Though I have gotten outputs up to nearly 250 lines from it..
Automatically feeding back code details + Traceback messages also fixes errors decently often enough.
Ah so I'm not the only one who feels this way lol. It's as brilliant as it is dumb.
The future is more than bright, especially with a new model that is more current.
Offtopic but just today I was aksing it for the most current versions it knows of right now:
Python: 3.9
JavaScript: ECMAScript 2021 (ES12)
Java: 16
C++: C++20
C#: 9.0 (.NET 5.0)
Ruby: 3.0.0
Swift: 5.4
Go: 1.16
Rust: 1.51.0
TypeScript: 4.3
PHP: 8.0
Kotlin: 1.5.0
Scala: 3.0
R: 4.0.5
Perl: 5.32
And frameworks:
Python:
Django: Version 3.2
Flask: Version 2.0.1
Pyramid: Version 2.0
TensorFlow: Version 2.6.0
PyTorch: Version 1.9.0
JavaScript:
Node.js: Version 16.9.1
Express.js: Version 4.17.1
React.js: Version 17.0.2
Angular: Version 12.2.4
Vue.js: Version 3.2.6
Java:
Spring Framework: Version 5.3.9
Hibernate: Version 5.4.32.Final
Struts: Version 2.5.26
PHP:
Laravel: Version 8.54.0
Symfony: Version 5.3.6
CodeIgniter: Version 4.1.4
Ruby:
Ruby on Rails: Version 6.1.4
Sinatra: Version 2.1.0
C#:
.NET Core: Version 5.0
ASP.NET: Version 5.0
Entity Framework Core: Version 5.0
It's really irksome when it tries to use functions which were renamed or removed. This could be detected automatically (and possibly remapped in some cases)
I got mostly the same versions as you, both on chatgpt3/4, using english.
If you ask it in other languages the minor version also seems to change often.
Finnish gives you dates, and code-davinici-edit-001 is 1 major release behind on almost everything.
Tässä on luettelo ohjelmistojen viimeisimmistä vakaiden versioista:
Python: 3.9.5 (30.4.2021) JavaScript: ECMAScript 2021 (23.3.2021) ECMAScript: ECMAScript 2021 (23.3.2021) Java: JDK 17 (28.9.2021) C++: C++20 (20.2.2020) C#: .NET 6 (8.11.2022) Ruby: 3.0.2 (24.8.2021) Swift: Swift 5.5 (20.9.2021) Go: 1.17 (16.8.2021) Rust: 1.54.0 (27.5.2021) TypeScript: 4.4 (28.7.2021) PHP: 8.0.9 (29.7.2021) Kotlin: 1.5.31 (26.8.2021) Scala: 2.13.6 (17.2.2021) R: 4.1.0 (18.5.2021) Perl: 5.34.0 (30.5.2021) ... Sinatra: 2.1.0 (10.4.2021) .NET Core: 6.0 (8.11.2022) ASP.NET: 5.0.10 (19.8.2021)
A better method would be to look at the language features it's using and infer from there. Or, better still, look at which versions were out when the training data was collected (which I believe is September 2021, don't quote me on that).
Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
And a lot of junk text.I don't know if we can treat the gpts in this way and expect reliable answers. We just get pretty good answers right up to the point that we don't.