问HN:你是如何利用大型语言模型(LLMs)来学习一门新的编程语言的?

1作者: doom2大约 11 小时前原帖
似乎每个人都有一个项目或待办事项,借助大型语言模型(LLMs)终于得以实现。我的目标是学习如何用C语言编程。我很好奇大家是如何利用LLMs来实现类似目标的。你是在目标语言中进行项目开发,并让LLM在过程中为你解释相关内容吗?还是在编写小段代码时,请LLM解释为什么某种做法比另一种更合适?如果你是用它来学习全新的编程概念,比如函数式编程模式,那又会怎样呢?
查看原文
Everyone seems to have that one project or to-do item that they're finally getting around to thanks to LLMs. Mine is learning how to program in C. I'm curious how folks are using LLMs to approach similar goals. Are you working on a project in the target language and having the LLM explain things as you go along? Are you writing small pieces of code and having the LLM explain why something should be done in one way but not another? What if you're using it to learn a new programming concept altogether, like functional programming patterns?