Minification (very often just minify, and sometimes also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments and sometimes block delimiters; which are used to add readability to the code, but are not required for it to execute.

PropertyValue
dbpprop:abstract
  • Minification (very often just minify, and sometimes also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments and sometimes block delimiters; which are used to add readability to the code, but are not required for it to execute. Minified source code is specially useful for interpreted languages deployed and transmitted on the Internet, because it reduces the amount of data that needs to be transferred. Minified source code may also be used as a kind of obfuscation. In Perl culture, aiming at extremely minified source code is the purpose of Perl golf game. Minified source code is also very useful for HTML code. All white space in HTML is reduced to only one space on the surface of a web page, so it's often quite possible to halve the size of a web page, by removing all excessive white space.
  • 極簡化(另称縮小化),在程式語言的範疇裡,指的是在不影響功能的情況下,移除所有非功能性必要之原始碼字元(如:空白、換行、註解、以及些許的區塊辦識子),因為雖然它們有助於提昇原始碼的易讀性,但在實際運行時卻不是必要的部份。 極簡化後的原始碼特別對於在網路上傳送的直譯式語言(例: Javascript)有所助益,因為經過極簡化之後,需要傳輸的資料減少了,大幅減少了傳輸所需的時間以及頻寬;極簡化後的原始碼也可以被當作一種「模糊語言」。例如在 Perl 的圈子裡,Perl Golf 活動的目標正是追求盡可能的極簡化。
dbpprop:reference
rdfs:comment
  • Minification (very often just minify, and sometimes also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments and sometimes block delimiters; which are used to add readability to the code, but are not required for it to execute.
rdfs:label
  • Minification (programming)
  • 極簡化
skos:subject
foaf:page
is dbpprop:redirect of