Skip to content

思考の道具としてLLMを使う事例

どのようにAIと付き合うのが良いか

Section titled “どのようにAIと付き合うのが良いか”

And so one game that I play recently is that, if I’m programming and I have a test that’s failing and I just can’t see what the problem is, before I start debugging it myself, I feed the source files and an explanation of the test failure into Gemini and I say, “Hey, what’s wrong here? What am I doing wrong?”

And it’ll sit and think for three, five minutes. And while it’s doing that, then I try to figure it out too, and whenever it pings that it’s done, I take a look. And sometimes it’s completely off base and sometimes it figured out the thing I just figured out. And sometimes it comes back and says, “Oh, it’s this,” and you think, “Oh wow, that would’ve taken me another half an hour.” And so it doesn’t really cost me any time to run this thing in parallel, and sometimes it really speeds me up. That’s a nice way to experiment and understand what they can do and what they can’t. So I think there’s a lot of promise there.

バグが発生したとき、自分でも調べてるが、Geminiにバグの症状を与えてデバッグするために質問しているようだった。人間は先入観があって書いてあるまま理解するのが困難なので、それを解消するために使っているのだろうか。

これは設計だけでは良いフィードバックを得られないにも貼ったけれど。

プレゼン資料とか、何か文書を書くとか、その内容をより深い内容にするため AI と対話して自分の理解を深めることにはめちゃくちゃ使う その資料や文書を AI に書いてもらう、ということにはほぼ使わない

こちらは思考するための道具として。

レビュー用としては有用。

私たちは(AIを使って)コードレビューを行うプロジェクトを進めています。個人的な話としては、私はメンテナーであり、私にとって非常に重要なのはコードレビューなので、コードを書くためのAIにはあまり興味がないのです。

今では、多くの人がプログラミングについて話すとき、AIを使ってコードを書くことを話題にしますが、私にとっては、コードのメンテナンスを助けるツールとしてのAIも同様に興味深いものに感じています。

コードを生成するためにも利用するが、実験や学習用途であって本番コードには使わない。

Linus Torvaldsが語る「バイブコーディング」とAIの現在地によれば、2025年11月にソウルで開催されたLinux Foundation Open Source Summitでインタビューで

Torvalds氏はAIを利用し、雰囲気でコードを書く「バイブコーディング」をかなり肯定的に捉えているようです。ただしそれは学習や入門の手段としてであり、プロダクションコードには不向きだと強調。「保守性の観点からは恐ろしいアイデアだ」と述べています。バイブコーディングは新規参入者にとってコンピューティングへの道筋を提供するもので、自身ではAI支援コーディングを使用していないそうです。

とあったが、Linus Torvalds’ Latest Open-Source Project Is AudioNoise - Made With The Help Of Vibe Codingによれば、年末休暇でオーディオエフェクター?を作るためにAIを使ったようだった。