On 01/20/2012 07:40 AM, Robert Clipsham wrote:
Just came across this amusing 4 minute video:

https://www.destroyallsoftware.com/talks/wat

Anyone have any other WATs you can do in other languages? Bonus points
for WATs you can do in D.


IIRC:

int i, j = getInt();
for (switch(j) {
  case 0: i = 5; break;
  case 1: i = 4; break;
  default: i = 42; } i < 77; i++)
    writefln("Wat!?");

Reply via email to