TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

You may finally use JSHint for evil

78 pointsby catacombsalmost 5 years ago

8 comments

ricardobeatalmost 5 years ago
The project has been &quot;rewritten from scratch&quot; [1] in order to sidestep the legal requirement of preserving the original license (from JSLint, which it was forked from), against both the original authors&#x27; wishes [2].<p>A whole lot of post-rationalization of how the unconventional license caused the project to slow down: <a href="http:&#x2F;&#x2F;mikepennisi.com&#x2F;blog&#x2F;2020&#x2F;jshint-watching-the-ship-sink&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mikepennisi.com&#x2F;blog&#x2F;2020&#x2F;jshint-watching-the-ship-si...</a>. Certainly not due to ESLint&#x27;s extensible design, customization options, better error messages, ES6 and JSX support and adoption by multiple mainstream libraries.<p>Legal implications aside, it&#x27;s still sad to see that &#x27;do no evil&#x27; is so hard to agree with.<p>[1] <a href="https:&#x2F;&#x2F;jshint.com&#x2F;relicensing-2020&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;jshint.com&#x2F;relicensing-2020&#x2F;index.html</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;jshint&#x2F;jshint&#x2F;issues&#x2F;1234#issuecomment-23187063" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jshint&#x2F;jshint&#x2F;issues&#x2F;1234#issuecomment-23...</a>
评论 #24053761 未加载
评论 #24058334 未加载
评论 #24053824 未加载
评论 #24097247 未加载
评论 #24053738 未加载
评论 #24057672 未加载
jancsikaalmost 5 years ago
&gt; The Software shall be used for Good, not Evil.<p>It&#x27;s so funny because Crockford is one of the most persuasive speakers and coders on avoiding ambiguity, on readability over coders desire to &quot;express themselves&quot; in code, and on making language design decisions based on research.<p>He then takes a step outside his area of expertise and chooses to express himself with an ambiguous license created without consulting anyone who has domain expertise in software licensing.
评论 #24054797 未加载
评论 #24054756 未加载
runarbalmost 5 years ago
I have found it funny that Douglas Crockford apparently gave IBM this exception: &quot;I give permission for IBM, its customers, partners, and minions, to use JSLint for evil.&quot; (for JSLint, which JSHints was forked from): <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20170722132351&#x2F;https:&#x2F;&#x2F;dev.hasenj.org&#x2F;post&#x2F;3272592502&#x2F;ibm-and-its-minions" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20170722132351&#x2F;https:&#x2F;&#x2F;dev.hasen...</a>
ed25519FUUUalmost 5 years ago
&gt; <i>The Software shall be used for Good, not Evil.</i><p>I get that software developers add these things to licenses in good humor, but lawyers have no humor unfortunately. If you want your project to be used in a serious way, it&#x27;s better to leave the ambiguous phrases out of your license and choose something standard.
评论 #24055588 未加载
评论 #24054597 未加载
评论 #24055286 未加载
oefrhaalmost 5 years ago
&gt; ...licensing concerns. That’s why Ubuntu users can’t download JSHint via sudo apt-get install jshint.<p>Okay, this is misleading. You can install tons of non-free packages using apt from the official archive. They are in the multiverse section.<p><a href="http:&#x2F;&#x2F;archive.ubuntu.com&#x2F;ubuntu&#x2F;pool&#x2F;multiverse&#x2F;" rel="nofollow">http:&#x2F;&#x2F;archive.ubuntu.com&#x2F;ubuntu&#x2F;pool&#x2F;multiverse&#x2F;</a>
TallGuyShortalmost 5 years ago
I&#x27;ve also had customers dig their feet in because I depended on this library: <a href="https:&#x2F;&#x2F;dst.lbl.gov&#x2F;ACSSoftware&#x2F;colt&#x2F;license.html" rel="nofollow">https:&#x2F;&#x2F;dst.lbl.gov&#x2F;ACSSoftware&#x2F;colt&#x2F;license.html</a>. Exactly when what you&#x27;re doing is considered a military application is ambiguous. Have an obscure DoD contractor as a customer? Uh oh - can&#x27;t use this...
yongjikalmost 5 years ago
Sorry for commenting on the formatting instead of contents, but how could someone say &quot;The following graph shows how many times JSHint has been downloaded from npm each week over the past five years&quot; and then present a graph with four data points?<p>Frankly that makes me doubt the author&#x27;s central piece of evidence (that JSHint gets much fewer downloads than ESLint).<p>* Graph from this URL in case it changes again: <a href="http:&#x2F;&#x2F;mikepennisi.com&#x2F;blog&#x2F;2020&#x2F;jshint-watching-the-ship-sink&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mikepennisi.com&#x2F;blog&#x2F;2020&#x2F;jshint-watching-the-ship-si...</a>
评论 #24055371 未加载
iandanforthalmost 5 years ago
Writing software is not a neutral act. You are morally responsible for its uses. Restricting those uses is both a responsibility and a good. Circumventing this restriction is itself an immoral act.
评论 #24054033 未加载
评论 #24054056 未加载
评论 #24053930 未加载
评论 #24053775 未加载
评论 #24054064 未加载
评论 #24054293 未加载
评论 #24054067 未加载
评论 #24055012 未加载
评论 #24054031 未加载
评论 #24057624 未加载
评论 #24054445 未加载
评论 #24057387 未加载
评论 #24054237 未加载