Ask HN:有人从头编写代码,还是主要从事架构设计和使用 LLM?
2 分•作者: mattfrommars•7 个月前
我猜想大多数公司都能使用 LLM,是这样吗?如果是的话,最近还有人从头开始编写代码,还是都依赖工具来编写代码?
在工作中,我可以使用 Github Copilot,但它有很多限制。它很适合用来调试问题。对于小的修复和增强,它也很有用。我主要会仔细检查它编写的代码,确保代码我能读懂和理解。如果它使用了太多捷径,我会让它写得更“易于阅读”。
现在,我想从 Java 转到 Python,并开始学习 Python,我选择了《Python编程快速上手——让繁琐工作自动化》这本书。我正在看其中的一个练习,是遍历一个目录树。我可以记住它在 Python 中是如何实现的,或者直接依赖 LLM 来编写它。
如果这些练习可以用 LLM 在一两次尝试中轻松完成,我这样做是不是在浪费时间?因为从头开始做这些练习非常耗时,而且我不得不反复查阅,才能记住语法和库。
查看原文
I'm assuming most firms have access to LLM, is it true? If so, is anyone really writing code from scratch lately or relying on the tool to write code for them?<p>At work, I have access to Github Copilot but it has a lot of guardrail. It is great to debug issues. Minor fixes and enhancement, it is useful. I mostly double check what it wrote and make sure it's code that I can read and understand. If it uses too many shortcut, I tell it to become more 'human readable'.<p>Now, I've been wanting to learn Python coming from Java and picked up Automate Boring Thing with Python Book. I'm looking at one its exercise which is to walk a tree directory. I can either memorize how its done in Python or just rely on LLM to write it.<p>Am I wasting time doing these exercises when they can easily be done with LLM within one or two shots? Because doing these exercise from scratch is very time consuming and I have to go back and forth to remember the syntax & libraries.