memesearch
Static Fields and Private Accessors

Static Fields and Private Accessors

Download Find similar pictures
Text on the meme
export class Point { static distance(a, b) { const dx = a.x - b.x; const dy = a.y - b.y; return Math.hypot(dx, dy); } } Classes has static field TC 39 Yup. And they use static accessor TC 39 Yup. So we can use private accessor for private fields TC 39 That makes sense to me. export class Point { private method(): void {} } Then take it. #clicked() { this.#x++; }
What it means

A cartoon character agrees with increasingly questionable JavaScript and TypeScript features, moving from static fields and accessors to private fields before abruptly taking the code back. The joke mocks the TC39 standards process and the way developers rationalize new language syntax until it becomes too much. EN: A cartoon character agrees with increasingly questionable JavaScript and TypeScript features, moving from static fields and accessors to private fields before abruptly taking the code back. The joke mocks the TC39 standards process and the way developers rationalize new language syntax until it becomes too much.

Objects
Tags
Source
Type
image
Size
500×741 · 95.0 KiB
Mood
sarcastic, absurd
Language
en
Added