gnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agoI personally use tabsprogramming.devimagemessage-square34fedilinkarrow-up1148arrow-down12
arrow-up1146arrow-down1imageI personally use tabsprogramming.devgnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square34fedilink
minus-squareZILtoid1991@kbin.sociallinkfedilinkarrow-up9·edit-21 year agoint mostCursedIndentation (const int someVal) @safe { {}{}if (someVal < 0) { {}{}{}{}throw new Exception ("Value cannot be negative!"); {}{}} {}{}return someVal * 5 - 3; }
minus-squarevvv@kbin.sociallinkfedilinkarrow-up12·1 year agoi 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)
minus-squaresoft_frog@kbin.sociallinkfedilinkarrow-up4·1 year agoCan you start randomly nest them too? {{}}{}int foo = bar
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)
Jesus Christ
He has already left the chat
Can you start randomly nest them too?
{{}}{}int foo = bar
You made it even worse!
This is the worst
Highly readable