local function someFunction(arg)
do end local SomeLocal = 40;
do end if arg > SomeLocal then
do end do end SomeLocal = Somelocal + arg
do end elseif arg < SomeLocal then
do end do end arg = arg * 2
do end do end if SomeLocal > arg then
do end do end do end error("oh my god why are you trying to read this")
do end do end end
do end end
do end return SomeLocal
end
someFunction(-0.3000000000000124976137894613978561389741642978623178913786926473891)
For real. OP needs to give up on this ridiculous notion of tabbed whitespace and learn to use real, monospaced indentation. How wide is a tab? OP couldn't tell you because tabs are inherently dishonest -- a lie concocted by big keyboard to poison the unwashed programmer masses.
I meant for my personal projects. For the code that only I see, tabs are much better for navigation. But it's true that if there are several of us working on the project, the spaces are much better.
So at my work we've implemented a automatic code formatter. Instead of having discussions about the process of changing the configuration file we just put it up on GitHub. I think I might have found a fun April fool's prank.
Note that this is much better for code style because - as opposed to the semicolon indentation- the single statement if and else branches still work. The trailing else is on the same line on purpose, it's so small it doesn't need its own line.
Here's another style with similar properties: