dwyl / goodparts

:see_no_evil: An ESLint Style that only allows JavaScript the Good Parts (and "Better Parts") in your code.
GNU General Public License v2.0
78 stars 26 forks source link

How do you *know* that Code written using "Good Parts" works everywhere? #272

Closed nelsonic closed 7 years ago

nelsonic commented 8 years ago

One of the questions that comes to mind when I'm reading the README.md is:

How do you know that Code written using "Good Parts" works everywhere....?

All the code in JavaScript the "Good Parts" was conforms to the ECMAScript 3 spec. This version of JavaScript was made a standard in December 1999 it is implemented by all browsers including Internet Explorer 6.

By using this "older" (but still perfectly functional) subset of the language you can be 100% certain that your code will work in every web browser released this century.

Only someone running Windows 98 with Internet Explorer 5 will not be able to run your code ... don't laugh, there are people that still have this configuration especially in some "developing" countries/governments: https://www.quora.com/Why-would-someone-still-run-Windows-95-98-in-the-2010s-and-later but you can safely ignore these people/users; they are not (never will be) your customers. 😉

Fl4m3Ph03n1x commented 7 years ago

Don't mind my intrusion, but I fail to see what is your question.

Also, DC recent talks expand the goodparts way beyond and into the realm of ECMA5. Not using classes, new and using factory functions are only some of the additions to his opinion.

nelsonic commented 7 years ago

@Fl4m3Ph03n1x thanks for reminding us that this issue is (was) still open. 👍 We aren't writing and new JS on the front-end anymore; see: https://github.com/dwyl/learn-elm

Fl4m3Ph03n1x commented 7 years ago

@nelsonic thank you for your reply. Does it mean that this project is now over, or discontinued? I personally like the badge and I support its meaning.

nelsonic commented 7 years ago

@Fl4m3Ph03n1x not "over" or "discontinued". We still have several JS projects that use this Linter. "Under-the-Hood" it uses eslint which is good but is a bit of a "moving target" ... see: https://github.com/dwyl/goodparts/issues/281

If anyone had time to address this issue I would be delighted!!

Fl4m3Ph03n1x commented 7 years ago

Looks like you fixed it. I left a comment there to be sure. Regarding this specific topic is there any assistance required?