News for hackers. Stuff that matters.
Re:GPT-4 is phenomenal at Code by sualehasif on Tuesday March 14, 2023 @08:23PM (#35161790)
GPT-4 certainly is aware of go generics. Do you have an example you would like to test?
Re:GPT-4 is phenomenal at Code by impulser_ on Tuesday March 14, 2023 @08:32PM (#35161897)
It does know that Go has generics if you ask it because 1.17 had experimental generics. But it doesn't know about 1.18 which is the official release of generics.

For example it doesn't know that Go has the any type that can be used in place for interface{}.