- When we talk of style here, we are not talking about fads and fashions, nor are we talking about CSS or conventions of layout or typography. We are talking about timeless qualities of expression which can substantially increase the value of a codebase. For companies whose valuations are are inextricably bound to their codebases, style should be a vital concern.
- Every bit of code entered into this tool is made into a file on my server. That file is fed into the YUI Compressor which outputs a compressed version of that file. The original code is removed immediately from the server, but the compressed file sticks around for a while so you can download it. The idea is to purge these files with a cron script but I’m not smart enough to write one, so ultimately the compressed files hang around until I purge them myself.
- A minifier removes the comments and unnecessary whitespace from a program. Depending on how the program is written, this can reduce the size by about half. An obfuscator also minifies, but it will also make modifications to the program, changing the names of variables, functions, and members, making the program much harder to understand, and further reducing its size in the bargain.
- Running your JavaScript code through YUI Compressor results in tremendous savings by default, but there are things you can do to increase the byte savings even further.
hello world
- When we talk of style here, we are not talking about fads and fashions, nor are we talking about CSS or conventions of layout or typography. We are talking about timeless qualities of expression which can substantially increase the value of a codebase.
- Every bit of code entered into this tool is made into a file on my server. That file is fed into the YUI Compressor which outputs a compressed version of that file.
- A minifier removes the comments and unnecessary whitespace from a program. Depending on how the program is written, this can reduce the size by about half.
- Running your JavaScript code through YUI Compressor results in tremendous savings by default, but there are things you can do to increase the byte savings even further.