Amateur! I use coments so it looks like this:
function main(){ /tab/if(fish==2){ /tab//tab/console.log(“i need help”); /tab/} }
3 spaces is best because if the universe is chaos then everything in it should reflect that.
I’m more about increasing spaces exponentially to really highlight how important each line is
public boolean function() {
if (method()) {
if (otherMethod()) {
for (Object o : list()) {
if (o.isAlive()) {
return false;
}
}
}
}
return true;
}
int mostCursedIndentation (const int someVal) @safe {
{}{}if (someVal < 0) {
{}{}{}{}throw new Exception ("Value cannot be negative!");
{}{}}
{}{}return someVal * 5 - 3;
}
i dont wanna talk about the lua version of this
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)
This is horrifying, this is straight up blaspheny
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 just want Coke to bring back Tab and Pepsi to introduce a competing drink called Space