Stupid question, is it a good practice to use two separate if clauses or one single if with if else clause, eg:

```
if (a = 1)
(dosomething)
if (a=2)
(do other thing)

```

OR

```
if (a=1)
(do something)
else if (a=2)
(do other thing)

```

Those two if conditions ARE NOT true the same time. Variable a is used as comparator and not changed at all.

The two ways work as expected and nothing programmatically wrong with it, I am just asking what is a good practice and recommended?