For faster navigation, this Iframe is preloading the Wikiwand page for Moduł (informatyka).

Moduł (informatyka)

Moduł, pakiet (ang. module, unit, package) – oddzielny twór, przeważnie w postaci osobnego pliku, zawierający zdefiniowany interfejs, a także implementacje typów wartości, klas, zmiennych, stałych oraz treści procedur i funkcji. Jest to podstawowy element koncepcji programowania modularnego pozwalający na podział kodu programu na funkcjonalne części i umieszczenie ich w osobnych modułach, które są ponadto niezależne i wymienne. Korzystanie z modułów jest również blisko związane z programowaniem strukturalnym i programowaniem zorientowanym obiektowo.

W językach programowania takich jak Java i Go czasami używa się pojęcia pakiet w znaczeniu moduł, w Pythonie pakiet jest zbiorem modułów, a od Java 9[1][2] moduł będzie oznaczał zbiór pakietów.

Moduł to również procedura, która realizuje w systemie komputerowym (np. ERP) jedną lub więcej funkcji przedsiębiorstwa lub części tych funkcji. W konsekwencji moduł będzie często wdrażany jako program komputerowy.

Duże, złożone programy można podzielić i ustrukturyzować za pomocą modułów. Może to być przydatne na wiele sposobów. Na przykład rozmiar modułów ma wpływ na gęstość uszkodzenia - jest to najmniejszy z wielkością modułu od 200 do 400 linii kodu. Projektowanie i definicja modułów i interfejsów jest częścią fazy projektowania w tworzeniu oprogramowania.[3]

Przypisy

[edytuj | edytuj kod]
  1. Java Module-System Requirements – DRAFT 12. Oracle. (ang.).
  2. Project Jigsaw. OpenJDK. (ang.).
  3. Y. Malaiya, J. Denton, Module size distribution and defect density, „Proceedings 11th International Symposium on Software Reliability Engineering. ISSRE 2000”, 2000, DOI10.1109/ISSRE.2000.885861 [dostęp 2022-09-07].
{{bottomLinkPreText}} {{bottomLinkText}}
Moduł (informatyka)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?