Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
eeeddr7418y@jakobev
The version that usually appears in browsers and stuff, but yes, enters and tabs get removed -
Root825408y@jakobev minified versions are run through packers to reduce code size. These not only strip whitespace, but also replace var/function names, and often also optimize the code to further reduce its size. The resulting mess is no longer readable, but is smaller and functionally identical to the original.
-
Even though I think every programmer should know operator precedence like a running water I still argue one should add extra parenthesis for clarity around operations like
2 * b - 1
as a reader I want to be 100% sure the coder wrote what he intended -
inso158yit is not fully minified just to fill any space that it can be a stock image for articles
A good code shouldn't look like this huh?
undefined
rants
unorganized code
javascript