woofyman99/phocoa — comment on commit 24a61b78bd6783e7880ee2da53b2181c576de7a2
File:  line 0
By woofyman99:

That's how I generally do it.
On Nov 1, 2011, at 4:12 PM, Alan Pinstein wrote:

> Please use this if formatting...
>
> if ()
> {
> }
> else
> {
> }
>
> Even if it's a one-line if block. In my experience I always end up creating bugs in the future when adding additional functionality.
>
> The only time I ever don't use {} on if's is for one liners like:
>
> if ($something) throw new Exception("FOO");
>
> Otherwise *always* use {}.
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/woofyman99/phocoa/commit/24a61b78bd6783e7880ee2da53b2181c576de7a2#commitcomment-688621