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?

モジュール、パッケージ、ディレクトリ、フォルダの違い

0
Posted at

雰囲気で書いているので、間違えていたらご指摘をお願いします。

(多分それぞれ文脈とかによって、意味が変わってきそうだとは思っています)

モジュール

  • 機能のまとまり(の概念)
    • プロジェクト全体で見た時の機能のまとまり

パッケージ≒ディレクトリ(ディレクトリ=フォルダ)

パッケージ

  • 実装寄りの概念でのまとまり
  • 例えばJavaやkotlinでは、classの作成でしか出てこない(以下のキャプチャの箇所)
    • パッケージ(まとまり、グループ)に、classを作る
      2025-06-26_00h30_08.png

ディレクトリ=フォルダ

  • 厳密には違うが、実質的は同じもの
    • OSによってどっちで呼ぶかが違う
      • WindowsやMacなどのGUIで操作するもの:フォルダ
      • UNIX系(Linuxとか)のCUIで操作するもの:ディレクトリ
  • 何を入れてもいい
  • ただの箱みたいなの

参考サイト

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?