GPT-4 is usually much, much better.
Also, you have to keep in mind that asking it this way relies on its information storage mechanism inside its neural net, which is really not optimal. For many things, it is better to try get it to generate a program that does the task rather than extract information from it.
Unfortunately they removed for now its ability to access web page, but at that moment, asking it to check on wikipedia which side of the road you drive in each country would have worked much better.
As a software engineer, though, I would not recommend to anyone to learn webdev right now.
I do know a bit of webdev but really don’t enjoy it. I have used GPT-4 to produce in one hour what would take me 2 days to make. It is like having a very motivated and fast-typing intern.
It won’t end our job right now in that state, but I think it would be irresponsible to not be at least a bit worried about the 2-3 years span.
Actually personally I would be very surprised if we don’t have more people writing coding prompts than actual code by the end of 2025.
GPT-4 generate real, working, code in many cases including non trivial ones.
It still requires an engineer to proofread and just generally to prompt the system correctly.
Yet, this is like having Magneto in the real world but people thinking it is some kind of tricks and still going through demolition firms… who then hire Magneto.
But as an engineer in the field, I won’t complain.
Not directly no.
It may be able to code one (the code is relatively short and well known) and give training program, and then you would need to spend a few trillion tokens to make it generate data.