Ask HN: 你在使用 LLM 学习新编程语言吗?

1作者: doom22 天前
看来大家都在借助 LLM(大型语言模型)着手处理那些一直拖延的项目或待办事项。我也不例外,最近终于开始学习 C 语言编程了。我很想知道大家是如何利用 LLM 来实现类似目标的。你们是在用目标语言编写项目,然后让 LLM 随时随地进行解释吗?还是编写一小段代码,然后让 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?