Does anyone else absolutely hate any scripting language that doesn't use ;'s?
It looks overcomplicated. Can't even get an idea what this code is supposed to do.
yOffsetForTime = { i in
return blah
}I have no idea what this is even supposed to be. At first I thought a function declaration, but that's at the very top and bottom starting with
funcAnd wtf is the
i in supposed to be
Have you ever used Ruby? I looked into it last night and it has some really odd things:
Pretty much everything, even numbers, are objects; instead of abs(-1) you'd do -1.abs()
And parentheses on methods are optional (unless they take arguments I'm assuming) so the above would more commonly just be -1.abs
which is pretty annoying because there's no way, other then remembering the names, to know whether something is a method or a member variable actually nevermind I just realized all member variables are private so it would always be a method you're seeing