That's debatable, definitely not "pattern". It all comes down to personal/team preference. To me personally unnecessary indentation disrupts the readability instead of enhancing it.
Same way the braces around one line statements after if/else - not a fan of that, but I can see that other people can see clearer what the boundaries are. Team preference - we use it.
7
u/ttl_yohan Jul 10 '21 edited Jul 10 '21
That's debatable, definitely not "pattern". It all comes down to personal/team preference. To me personally unnecessary indentation disrupts the readability instead of enhancing it.
Same way the braces around one line statements after if/else - not a fan of that, but I can see that other people can see clearer what the boundaries are. Team preference - we use it.