They provoked the strike on purpose by giving the workers an unacceptable contract. The aim was to wreck the union (they succeeded). They prepared in secret for two years for this.
Even if it didn't dedupe strings, mutable string literals means that it has to create a new string every time it encounters a literal in run time. If you have a literal string in a method, every time you call the method a new string is created. If you have one inside a loop, every iteration a new string is created. You get the idea.
With immutable strings literals, string literals can be reused.
You make an arrow function that takes an object as input, and calls another with a string and a field from the object, for instance to populate a lookup table. You probably don’t want someone changing map keys out from under you, because you’ll break resize. So copies are being made to ensure this?
Sure, but “JavaScript [is] utterly broken, incapable of executing the simplest programs without errors” is a bit much. I find it hard to believe that even when I’m completely out of touch, I’d say that about a language that people are obviously productive in (as much as I hate JS myself).
Sometimes when I play a point n click adventure and I am stuck for hours on a puzzle I tend to think: I've tried everything... surely there must be some kind of bug for why I am not proceeding.
Only to then realize (after reading the walkthrough) that there was indeed a way.
I think it's human nature to find (rather search) blame not only in yourself but everywhere else... anyhow, since the author is reflective we should be forgiving as well.
Related to "Last is first", old Spanish books sometimes put at the end of the page the first syllable of the next page. (It was quite disconcerting when I first saw it.)
That's called a "catchword", and it's common in many older texts (not just in Spanish). It serves two purposes - it makes it easier for a person reading the book aloud to read smoothly while turning a page, and it makes it easier for bookbinders to spot pages which are missing or out of order. (Page numbers were, believe it or not, a later development.)
It was common throughout Europe in the early modern era.
I've got a book of recipes from Williamsburg, Virginia, a kind of outdoor museum LARPing as 1775. The recipes are from various sources, but they typeset it as a period document, including those catchwords. I find it charming.
I don't think in Red a function can decide whether to evaluate its arguments or not. It's more like a Logo: functions have fixed arity, so you don't need to delimite the call, and lists ("blocks") are always quoted, so you need to explicitly evaluate them.
Here's an account: https://www.huffpost.com/entry/wash-post-busted-pressmens-un...