In this article we will learn about the Erlang modules and attributes. Programs are divided into modules and modules containing functions and attributes to access the information about the application.
pattern matching is a process of checking a given sequence of tokens for the presence of the constituents of some pattern . Erlang uses pattern matching to bind variables to values. In erlang pattern matching can be explicit as well as implicit .
Erlang is designed for massive concurrency. Erlang processes are lightweight (grow and shrink dynamically) with small memory footprint, fast to create and terminate, and the scheduling overhead is low.