ChatGPT is indeed very useful for porting general programming knowledge to a new language for sure, it's great for that. Code it provides isn't always perfectly functional outside of basic tasks but it always gives a good start point and explains the logic.
I love Python myself, I just find it real easy and intuitive, but to each their own ofc. I like the look of Go too because it's similarly easy to learn and human readable.
I have found porting libraries and dependencies a bit annoying in Go but that's probably just because I need to get used to Go's way of doing it.
I like Python here because you just pip install and it's ready to go once you import it in your code. No fuss.
If I didn’t have Ruby I’d love Python too. But given the choice, Ruby fills my need for a dynamic “get shit done” language and the aesthetics are a better fit for me.
I basically just use ChatGPT as a research assistant to save me the time I would waste searching for ambiguous stuff. As the web has exploded over the last 20 years it’s gotten harder to just get up to speed on the current accepted options for tackling various problems. Now I’m able to use search engines in a much more targeted way to find the specific things ChatGPT has already clued me in about. It’s also a great way to explore a new to me API.
It would take me much longer to coerce ChatGPT into writing the code I want in the way I want it than it does to just type it myself once I know what I want. But it saves me a ton of time exploring options so I can decide what I want. Then I can shift to an iterative debugging session using something like Ruby’s pry or Python’s ipdb (which ChatGPT helped me find when I asked it about pry like tools for Python).
Yeah exactly that's the way to use ChatGPT. Have it explain how you'd do XYZ in the language you're learning and go yourself from there 👌
Thread collapsed
Thread collapsed