4 ms·
I guess you could classify myself as "not a programmer" since I don't do it daily, and I mostly make scripts and small web APIs in python for tinkering around w
by scohesc 3y ago
I guess you could classify myself as "not a programmer" since I don't do it daily, and I mostly make scripts and small web APIs in python for tinkering around with IoT stuff.
ChatGPT has made it incredibly easy for me to program quick solutions to problems.
"Write a simple Sanic framework app that has a POST request with route '/logtemp' that accepts two parameters - a datetime and a value between from -40 to +40. - the route will then call a function that inserts these values into a Sqlite database with method signature logTemperature(datetime, temperature)."
I have to do some additional coaxing obviously (and prompt it for edge case recovery, etc. etc.), but it takes the mundane-ness out of learning the framework for something I'm not planning on selling or scaling up - not considering any other problems that can go wrong blindly inserting data into a database, etc. etc.
Maybe for full-time programmers who need to maintain complex codebases with many different source files, etc. - I could see that AI might not be able to help with that, but given enough time I'm sure we'll see AI software that will absorb your code, run/scrutinize it, and come up with recommendations, etc. you can make to it to make it better. (maybe automatically!)
- flusensieb 3y agoI sometimes work in a co-working space, there's an (I think) architect sitting there who does a lot of 3D/modelling stuff. From what I've heard it involves python/c++ for creating and rendering his models. He knows the math, and he really doesn't care about maintainability: Either it looks good to him, or it doesn't. For him, ChatGPT and similar stuff works great. And I can totally see why. But for maintaining a full-time complex codebase where the code is less about 'make it work' but rather about 'make someone in five years understand what and why things are happening' it still seems like a no-go.