Comment Re:What is Figma? (Score 3, Informative) 25
Comment Re:This following Biden's wish to eliminate home g (Score 4, Informative) 297
Comment Re:Why foldable? (Score 2) 43
Comment Re:Missing info (Score 2) 114
Comment Re: What? No Lenna?! (Score 1) 103
From what I read now, even the model herself doesn't understand what the big deal is
Nah, she doesn't want to be involved in these test images and she's made that quite clear. https://www.losinglena.com/ There's nothing particularly special about that photo so we can find equivalent test images.
Comment Rape apologist changes topic (Score 0) 291
However, in 2018 he defended Cody Wilson, who later pled guilty to sex with an underage girl, with Stallman saying that the girl likely had "entirely willing sex with him." Stallman changed his original post but nevertheless still said it is "normal for adults to be physically attracted to adolescents" and that adults using trafficked children shouldn't be legally responsible. In 2019, Stallman posted an email to an MIT listserv about the allegation that MIT professor Marvin Minsky raped a 17-year-old girl, and due to public outcry he resigned from both MIT and the Free Software Foundation.
Comment Re:You mean like this? (Score 1) 63
Comment Re:Whatever... (Score 3, Interesting) 45
Comment Re:That is why (Score 3, Informative) 19
Comment Re:How would you fix JavaScript? (Score 1) 50
and optional type-checked parameters, including a "non-empty" test.
This is typically done by writing in a different programming language that compiles to JavaScript. The most popular choice is TypeScript, as you've mentioned. There is talk of adding types to JavaScript but it's likely to be years away. And is runtime type checking needed in the browser? It seems static compile-time deals with most use-cases.
optional named parameters,
Probably won't be added, but there is Destructuring Assignment instead which is similar...
function(obj) {
const { name1 } = obj;
}
This takes the first argument 'obj' and extracts the 'name1' property.
This can also be a one-liner.. destructuring the first argument immediately,
function({ name1} ) {
}
an explicit class-like structure
classes already exist.
Comment Re:Weren't most of those in their OS division? (Score 1) 73
Comment Re:Chris Cuomo, really? (Score 1) 229
virtual signaling dance over mask wearing
masks are virtue signalling now?