0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AI時代のプログラム作成

Last updated at Posted at 2025-10-16

AI時代のプログラム作成について

最近は、AIにコーディングしてもらうことが多くなった。
初心者でも簡単にプログラムを書いてくれるので作れる人もいるようですが、現行のAIでは大きなプログラムを正確に描くことは難しい。

AIコーディングにおける注意点

1.変化の激しい言語は要注意
 出始めのプログラム言語やライブラリはバージョンの変化で文法の変更や記述の変更・引数の並びが変わるなどがちょくちょく起きる。
 このようなものに対しては、AIが古い記事を参照しているので誤ったコードを書くことが多い。
 なので、エラーが起きたときの対処ができる実力が必要になる。

2.事前にプロンプトテキストを作る(設計する)
 プログラムは、構造的にみると
・メインの流れを処理する部分(メインプログラム)
・機能の流れを処理するプログラム(機能サブルーチン)
・共有して使うサブルーチン
の3層構造になることが多いので事前にサブルーチンから指示して、機能サブルーチン、メインプログラムの順で指示してあげるとよさそう。
この部分で、AIを相手にブレーンストーミングするのは非常に有効かも!!

よくやりがちなのは・・・

中規模のプログラムなら、書きながら部分的にコーディングをお願いする。
これはあり。

皆さんどうしてますか?

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?