> Effective altruisme is a smoke screen term to make legislators and the public believe that tech companies have humanities best imterest at heart.
I think it's a smoke screen term to convince wealthy people they have humanity's best interest at heart—pretty trivially. I find it impossible to believe that anyone else believes this.
You forget people who are convinced that they are wealthy, and then are convinced that they have humanity's best interest in part.
This describes many who fell for crypto Ponzi schemes. Who were convinced that buying into the Ponzi scheme made them rich, and the world a better place.
Doesn't really matter after compression unless the bulk of your code can be culled from the end product. Tbh the largest business value this has is slowing down people trying to use your internal APIs.
It would be nice to have experimentally-derived numbers to point to in order to help people visualize whether or not minification actually improves compression to any significant degree.
Edit: something important to note: some frameworks (e.g. React) have lots of comments on their un-minified versions, that are removed when minified. That affects their size greatly.
> Edit: something important to note: some frameworks (e.g. React) have lots of comments on their un-minified versions, that are removed when minified. That affects their size greatly.
Nah, in a more serious note, to properly compare the impact of minification, I should remove the comments from the unminified (maxified?) version first. :)
Nah that wouldn't be fair, the code I serve my users initially has comments too and the arguments that people bring to criticize minification is that it adds complexity if you want to read the code in the browser. The comments should stay
Often I avoid comments by using long names for functions and variables (e.g. the test whose name is a statement of the postulate behind it) and minimization squashes many of those.
Compression is waaay more effective, so if you have to pick one, go with compressing. Is having readable source code worth the other 2KB? That's up to you. Source maps can do the same thing with less, though. Also, modern devtools have ways of de-minification (if you don't mind all the mangled variable names).
Speak for yourself: I'm not returning to the world of "discipline" (aka lost productivity) without a damn good reason to carry on existing codebases. It's just a waste of a good coder and certainly of good time.
I think this is amusing because both directions completely work:
In C++, you can do whatever. Rust forces you do to some things. No discipline required by C++, absolutely required by Rust.
In C++, you can do whatever. Rust forces you to do some things. This means you must have discipline in C++, or you will do bad things. But in Rust, you can do whatever you want, the compiler has your back.
I completely disagree; discipline is only optional in C++ if you want to ship broken code. Even the top poster in this thread that actually cops to the productivity overhead of C++ admits (albeit obliquely) they still make memory errors
I'm pretty surprised to see Scott mixed in with these folks. I love me some Alien, but his other works have a noticeably looser quality and shallow worldviews. As a director or to a lesser extent as a producer I suppose I tepidly agree with his mastery, but he's more of a Michael Bay than he is a Kubrick as a filmmaker overall: he makes puerile but engaging blockbusters.
Hat tools does any of us plebs have in this country have to compel reasonable behavior from board members? As far as I can tell in this country you're not even legally allowed to be on a board if you're not a narcissistic, antisocial cretin.
I mean that's at best a wildcard when it comes to saving us from our own laws; it's not like our judicial system has literally ever consistently demonstrated good judgement. It's by far the most conservative and reactionary of our branches of government. That's not even touching the absolute disgrace that is our current generation of judicial staff.
I think it's a smoke screen term to convince wealthy people they have humanity's best interest at heart—pretty trivially. I find it impossible to believe that anyone else believes this.