I've only ever written small scripts so i always formatted it like this -
if
[(long string) + (of) + (multiple things)]
do
{
(x)
{
if
=
(null)
do
(something)
(0)
(1)
}
}
tldr; i have SOOO much whitespace that if i made a typo i can find the thing almost immediately. only 1 space over as-well so if someone found my code they prob wouldn't have any formating issues there, the problem would most likely be my stuff is color coded by notepad++ meaning i cant just hover over a } or { and it'l color its counterpart as-well, so figuring out which } matches { would be a pain to them if not using a program with that feature. otherwise i don't see how an issue could occur with it since excess lines don't cause lag due to me running it through a website that deletes all the whitespace when i want to implement it.
tldrttldr; IFYOUEVERSAWMYCODEITDPROBLOOKASBADASTHISSENTENCEDUETOREMOVINGMYFORMATTINGSOTECHNICALYIGUESSICOULDHAVEJUSTCOMMENTED"PROBLEMSWITHANOTHER'SFORMATTING?LOLITSPROBMORELEGIBLETHANWHATYOUDBEABLETOSQUEEZEFROMMEXD!"ORSOMETHINGALONGTHOSELINES...OWELL!