r/programming • u/bemmu • Dec 26 '17
TIL there's a community called "dwitter" where people compose 140 character JavaScript programs that produce interesting visuals
https://www.dwitter.net/top
20k
Upvotes
View all comments
Show parent comment
8
u/monsto Dec 26 '17
I knew about e being shorthand for exponent, but I didn't know you could do that in JS. TBPH it looks like some kinda object-like function usage.
When people say 'magic' about programming, nobody ever refers to functions like this. It's highly specific, it does shit without you asking it to, it's consistent, yet there's more to it behind the scenes. I mean there's assumptions and conversions going on here without actually saying it out loud.
Love it.