From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:211]) by hurricane.the-brannons.com (Postfix) with ESMTP id CBF0877AF8 for ; Tue, 15 Apr 2014 07:37:31 -0700 (PDT) Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by QMTA11.westchester.pa.mail.comcast.net with comcast id qCtR1n0071swQuc5BEdJSR; Tue, 15 Apr 2014 14:37:18 +0000 Received: from eklhad ([68.84.191.77]) by omta15.westchester.pa.mail.comcast.net with comcast id qEdJ1n0031gep303bEdJ32; Tue, 15 Apr 2014 14:37:18 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Tue, 15 Apr 2014 10:37:11 +0000 Message-ID: <20140315103711.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1397572638; bh=6+9N5pACwdg4CaGbKuVjFbAzYURIO9Y0U837pDucLCw=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=EiJDu7mbJhE7tIC4pj9YVMCx+BKRpW3WYzu9nIRDIhdlu2Lttcl+5UDEmpmdj+jko LfE6T3c0zOmCMOIx2eZTnx2/ngc0lrKPNvAQNifIZ8gk7bg3vDPVyUJWf4nmpgiopX V6NL1qg7+zJd+Rkc2DgC2v/FjurdEa2aF99+diZtsn/1sLAeJZO6CffegLxOj9dj3Y svwa7KXnXmlL7SxVw8oxmIxhNoEn6MqCWe5mMzY70Dj3wPCbx0rep9xn0en56DC66L FxL2V0/IwgSClOGXz5pU22hsWHPpVPcISOpBB2nlbAmnRE2TrGQGVseEkKA+AIkb6e Pc7fwQ7oIE+RA== Subject: [Edbrowse-dev] js befuddle X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 14:37:32 -0000 As I move forward with javascript, as time permits, I just have to comment, or vent, at least once, on the state of js. Not the language, that's fine, but the way people write it. I'm convinced there is a program out there somewhere that is called js_befuddle(), that strips the whitespace and comments out of any js program, and changes the variables to meaningless single letters. It can't be coincidence; I've seen too much javascript code written like that. My router for instance, has a js file that is 10K, all on one line, no whitespace, no comments, and cryptic variables. 10K of what looks like line noise. But it's worse than that. Most of these programs hide operations in functions when they don't need to, and even prototype on top of existing methods, so that the standard string and array methods don't do what you expect them to do. Imagine if s.split(',') does something completely different than you expect. It's worse than reading assembly language! I guess they are thinking along these lines: "My js code has to be public, I can't hide it, I have to release the source, and I'm paranoid, so I'm going to make it confusing and convoluted and impossible to understand." Gee, thanks alot. Most people would never know or care, but if I want to know why edbrowse doesn't work on a site, I have to trudge through all this shit to figure it out. My goal then is to find some real world sites where edbrowse doesn't work, and where the js is simple, short, and comprehensible; and then hope those problems are representative of the shortfalls of edbrowse js in general. Jesus, Mary, Joseph, and all the saints! Karl Dahlke