Hacker News new | ask | show | jobs
by WheelsAtLarge 1287 days ago
Try a simple calculator. It will give you the complete code for that. I think there's a set limit on output text so that's why your tic-tac-toe was incomplete. I've asked for the calc in Rust and Python and I got a working app for both. It was simple but the fact that it gave me what I asked for is amazing.

I bet that you could break-up your app into functions and have ChatGPT write each function to get to a bigger program.

It's limited now but I can definitely see the possibilities.

It won't be free forever so we'll have to weight the usefulness vs cost eventually.

2 comments

It's not that amazing. You can find complete examples of calc in Rust and Python all over the Internet. It just spit out a copy of someone else's code, and gave it to you.

Instead of you having to Google search everywhere or look in multiple sources, you were able to just ask ChatGPT.

If it stays at its current programming level then you're right but I'm more impressed with the ask-and-you-get capabilities and the future possibilities of the AI. My assumption is that it will get better as time passes, from past experience.

Overall, it's impressive tech.

Yes! The calculator worked and I agree with you that in most of my prompts when I have requested to give elaborated answers, it doesn't give appropriate results.