Content deleted Content added
m →Web development: ce |
mention demoscene |
||
Line 3:
{{Redirect|Terser|the basic topic|terseness}}
{{Use dmy dates|date=September 2021}}
'''Minification''' (also '''minimisation''' or '''minimization''') is the process of removing all unnecessary characters from the [[source code]] of [[Interpreted language|interpreted programming languages]] or [[markup language]]s without changing its functionality. These unnecessary characters usually include [[whitespace character]]s, [[Newline|new line characters]], [[source code comment|comments]], and sometimes [[Curly bracket programming language|block delimiters]], which are used to add readability to the code but are not required for it to execute. Minification reduces the size of the source code, making its transmission over a network (e.g. the Internet) more efficient. In programmer culture, aiming at extremely minified source code is the purpose of recreational [[code golf]] competitions and a part of the [[Demoscene#64K_intro|demoscene]].
Minification can be distinguished from the more general concept of [[data compression]] in that the minified source can be interpreted immediately without the need for a decompression step: the same interpreter can work with both the original as well as with the minified source.
|