Results 1 to 2 of 2

Thread: Looking for criticism on my JavaScript application prettydiff.com

  1. #1
    Join Date
    Jun 2012

    Looking for criticism on my JavaScript application prettydiff.com

    I am looking for any criticism of the JavaScript application located at http://prettydiff.com/. Any criticism or suggestions are greatly appreciated.

    The application is a diff tool that minifies code and then beautifies the code before performing the diff operation so that code on one line can be compared to similar code on thousands of lines. Since there is a minifier and a beautifier required for the diff operation the minify and beautify operations can be used directly by changing the first set of options.

    I don't know how much the following should bias any criticism, but it seems to define the relative audience. The actual application code is broken out from any single API, such as the DOM. The web UI can use the same application code as WSH from a Windows command line or with anything that uses Common.js, such as Node.js. I am not accurately tracking usage in Google Analytics to determine which API is getting the most use, but I am starting to believe this tool is getting more use in automated builds of internet networks than use from the browser.

    I have gotten a lot of criticism on the color scheme, so I am currently working on a way to dynamically choose between color schemes.

  2. #2
    Join Date
    Feb 2012

    what it can do for me.

    I ran the beautify tool on my AXAJ interface to see what it was all about. I got a report on my usage of Javascript. By inspection I can tell if I have matching defaults for every switch statement,. You could place one underneath the other, as I would think of it, but who am I to think for you?

    I could also tell if the code was heavily "for" laden, as well as knowing how many document accesses in that javascript file. Perhaps even identifying too many if-elses that could be replaced by switch statements.

    The beautification looked a lot like the little I have seen of Jquery formating!

    The minification was a mere 11%, something with which I can live.

    The diff is of little use to me because I rarely do rewrites.

    A decent bit of work, and good luck in your future.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center