<div dir="ltr"><div>Hey Gijs / folks,<br></div><div><br></div><div>One of the things I _think_ I've been seeing more activity on is switching us from JSMs to ES6 modules. From conversations I've had with kmag, tcampbell and Luke Wagner, my understanding is that switching to ES6 modules not only moves us to a standard, but also could have significant performance impact. The details are a bit foggy for me, but I <i>believe</i> it was related to how ES6 modules are JITted, but don't quote me on that.</div><div><br></div><div>I also believe ES6 modules are a pre-req for going down the type-inference tunnel.</div><div><br></div><div>-Mike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Jan 2020 at 10:43, Gijs Kruitbosch <<a href="mailto:gijskruitbosch@gmail.com">gijskruitbosch@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello firefox-dev,<br>
<br>
It is already almost February, so in the spirit of better late than <br>
never: let's talk 2020 planning for improving code quality, <br>
maintainability and developer productivity in Firefox!<br>
<br>
Some of us talked about this at all-hands last night - there is definite <br>
room for improvement in our processes and automation aimed at improving <br>
the quality of code changes and how productive we all are when working <br>
with the code.<br>
<br>
Some ideas that came up include:<br>
<br>
- more linting for CSS, HTML, SVG, Fluent and other files (basically, <br>
eslint-style linting for non-JS)<br>
- type inference in JS<br>
- automated infrastructure jobs to get runtime coverage for issues that <br>
are harder to check statically (e.g. accessibility, performance)<br>
- guidelines/policy/documentation on code, architecture, issues to look <br>
out for in reviews, etc.<br>
<br>
What kind of improvements do you think are most important on the code <br>
side of the Firefox/Toolkit codebase, and why? What big things are we <br>
missing that you've seen elsewhere?<br>
<br>
~ Gijs<br>
<br>
_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</blockquote></div>