WAT? [wat] — interjection: A sound a programmer makes when something violates the principle of least astonishment by astonishing them with counter-intuitive behavior.
> .1 + .2
0.30000000000000004
> WAT? OMG! STFU! STUPID JAVASCRIPT!!!
…
Also, WAT? is the sound I make when I talk to many seasoned JavaScript developers who have neglected to learn the basic mechanics of prototypal inheritance: one of the most important innovations in CS history, and one of the Two Pillars of JavaScript.
To me, this is like a professional photographer who has yet to learn the exposure triangle — the basic formula for controlling much of the visual style of a photograph. Put simply: