Why is a person allowed to give more than one answer to a same question?
Does it look better to have different answer from the same person? Why not give the alternative solution in the first answer post?
Why is a person allowed to give more than one answer to a same question?
Does it look better to have different answer from the same person? Why not give the alternative solution in the first answer post?
You can, and probably should post multiple answers if the problem can be solved in different, very distinct ways. Some programming languages naturally offer different approaches to solving the same problem for example.
By posting separate answers the community can vote on each approach separately. If you put the two approaches into one answer, and one approach is terrible and the other is great, how should the community vote on that one answer?
Why not?
Giving 2 different solutions in different answers can be more readable and the community can vote on the better one instead on the general answer.
And on sites like meta you can have multiple answers for bug reports for instance.