4 ms·
I'm also against building and compiling (I work with Python and Ruby on the backend) but there were good reasons to have those steps, at least in the past and p
by pmontra 3y ago
I'm also against building and compiling (I work with Python and Ruby on the backend) but there were good reasons to have those steps, at least in the past and probably still now. Short and very incomplete list, feel free to reply and add points:
* slow network, especially on mobile
* reduce the size of the download by minifying
* reduce the number of calls by bundling files in a single one
* Inconsistent JS and HTML feature support among browsers
* transpiling to a common older version of JS
* add polyfills to implement missing features
* add widgets to implement fucked up default implementations or widgets that are nearly impossible to standardize (date and time pickers might need tons of features and are projects on their own)
- kitsunesoba 3y agoMost of those points could be taken care of by building only when deploying though, skipping the phase during development. I think most of the annoyance with a build step comes from how you can’t do anything unless the tooling for it is set up, as well as how it gunks up the tweak → reload cycle.