Talk:Minification (programming)

Latest comment: 4 years ago by Andreasabel in topic Example
edit

So.. how many external links do we need, exactly? They outweigh the content of the article like 2-to-1. Markusbradley (talk) 02:45, 30 March 2009 (UTC)Reply

Good point. This was valid earlier when there were links to dime-a-dozen free online JavaScript minifiers. I've rewritten the article to include only the most important and unique tools and programming libraries. I'll have to rewrite the "web dev" section too, replacing the external link list with a para explaining what they do and why they're useful. On a side note, Wikipedia is missing an article on Content encoding. -- Tom Jenkins (reply) 12:24, 11 August 2009 (UTC)Reply

I don't see how would external links do any harm as they're not SEO. From my point of view, I worked hard building a CSS minifation tool and writing a very good article on how to dinamically do it with PHP. They were removed for the reason stated above. As long as the information linked is valid, it should stay there, there's no need in removing it. -- Claudiu

Anti minification - code formatting beautifier

edit

I think that the section about "JavaScript formatting beautifier" should be added. Because it is another process, which is the process opposite to Minification, IMHO. See e.g. http://jsbeautifier.org/ -- Andrew Krizhanovsky (talk) 10:07, 22 December 2011 (UTC)Reply

Minified source code is also very useful for HTML code

edit

Minified source code is also very useful for HTML code. As an example, successive whitespace characters in HTML are rendered as a single space, so replacing all whitespace sequences with single spaces can considerably reduce the size of a page.

This is factually incorrect: CSS can be defined in such a way that whitespace is not collapsed and since CSS is unknown from the point of view of the HTML no assumption can be made about whitespace. -- Fursday 21:04, 1 September 2014 (UTC)Reply

Example

edit

It isn't clear that the for loop example in javascript is slower when a is pre declared in any reasonable number of use cases. — Preceding unsigned comment added by 73.73.227.12 (talk) 21:49, 6 October 2016 (UTC)Reply

The example seems to go beyond as what has been defined as minification above: "...process of removing all unnecessary characters... These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters," Andreasabel (talk) 11:10, 8 May 2020 (UTC)Reply

Introduction

edit

".. though the term obfuscation may be distinguished as a form of false cryptography while a minified code instance may be reversed using a pretty-printer."

How does this contradict the first part of the sentence? --129.13.72.197 (talk) 07:05, 16 October 2014 (UTC)Reply

Maintenance and rating of JavaScript articles

edit

Concerning editing and maintaining JavaScript-related articles...

Collaboration...

edit

If you are interested in collaborating on JavaScript articles or would like to see where you could help, stop by Wikipedia:WikiProject JavaScript and feel free to add your name to the participants list. Both editors and programmers are welcome.

Where to list JavaScript articles

edit

We've found over 300 JavaScript-related articles so far. If you come across any others, please add them to that list.

User scripts

edit

The WikiProject is also taking on the organization of the Wikipedia community's user script support pages. If you are interested in helping to organize information on the user scripts (or are curious about what we are up to), let us know!

If you have need for a user script that does not yet exist, or you have a cool idea for a user script or gadget, you can post it at Wikipedia:User scripts/Requests. And if you are a JavaScript programmer, that's a great place to find tasks if you are bored.

How to report JavaScript articles in need of attention

edit

If you come across a JavaScript article desperately in need of editor attention, and it's beyond your ability to handle, you can add it to our list of JavaScript-related articles that need attention.

Rating JavaScript articles

edit

At the top of the talk page of most every JavaScript-related article is a WikiProject JavaScript template where you can record the quality class and importance of the article. Doing so will help the community track the stage of completion and watch the highest priority articles more closely.

Thank you. The Transhumanist 01:11, 12 April 2017 (UTC)Reply

edit

Hello fellow Wikipedians,

I have just modified one external link on Minification (programming). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 01:47, 1 February 2018 (UTC)Reply

Missing Criticism section

edit

There is no criticism of such a practice, because code minification can lead to bugs related to syntax errors, resulting in application hangs and crashes. -Mardus /talk 17:18, 8 November 2019 (UTC)Reply