Modular programming

Modular programming is a way of organizing a computer program into smaller parts called modules. Each module contains the necessary code to run one specific par…

Modular programming

Modular programming is a way of organizing a computer program into smaller parts called modules. Each module contains the necessary code to run one specific part of the final computer program. Modular programs are simpler to understand.[1] They are also more simple to maintain. Different programmers can each make different modules.[1] Usually, each module is designed to do only one thing.[2]

Uses

Some notable languages that use the module concept: Ada, C++, C#, D, Fortran, Go, Haskell, JavaScript,[3] Objective-C, OCaml, Pascal, Perl, PHP, Python, Ruby, Rust, and V (Vlang).[4]

References

  1. ↑ 1.0 1.1 Rama Reddy; Carol Ziegler, C Programming for Scientists and Engineers with Applications (Sudbury, MA: Jones and Bartlett Publishers, 2010), p. 266
  2. ↑ E. Balagurusamy, Programming In Ansi C, 5E (New Delhi: Tata McGraw Hill Education, 2011), p. 266
  3. ↑ ECMAScript® 2015 Language Specification, 15.2 Modules
  4. ↑ Rao, Navule Pavan Kumar (December 10, 2021). Getting Started with V Programming. p. 193. ASIN B09FKK3JL7. ISBN 978-1839213434. OCLC 1290492862.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.