r/programming • • 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

329 comments sorted by

View all comments

Show parent comment

2

u/whatwasmyoldhandle Dec 26 '17

Yeah the stripping down part is a little bit of a downside IMO, but I don't know a better way to enforce "small"

Kind of would rather read a few clear lines

10

u/Jess_than_three Dec 27 '17

But that's the whole point, right? If you did it by line length you'd get people cramming a ton of stuff onto a line instead. (Actually, you'd want number of statements, because you can otherwise just have one arbitrarily long line...) Either way, it's going to get confusing fast, because the idea is to be as clever as you can to fit in as much content as possible in a confined space - and cleverness is the enemy of readability.