Modular programming
Appearance
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
[change | change source]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
[change | change source]- ↑ 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
- ↑ E. Balagurusamy, Programming In Ansi C, 5E (New Delhi: Tata McGraw Hill Education, 2011), p. 266
- ↑ ECMAScript® 2015 Language Specification, 15.2 Modules
- ↑ Rao, Navule Pavan Kumar (December 10, 2021). Getting Started with V Programming. p. 193. ASIN B09FKK3JL7. ISBN 978-1839213434. OCLC 1290492862.