Many authors use the convention that ##0^0 = 1##, and there are many good reasons. For example, Knuth (who invented LaTeX) wrote in his (very beautiful) book "concrete mathematics:
Some textbooks leave the quantity ##0^0## undefined, because the functions ##0^x## and ##x^0## have different limiting values when ##x## decreases to ##0##. But this is a mistake. We must define ##x^0=1## for all ##x## , if the binomial theorem is to be valid when ##x=0## , ##y=0## , and/or ##x=-y## . The theorem is too important to be arbitrarily restricted! By contrast, the function ##0^x## is quite unimportant.
On the other hand, there are also many mathematicians leaving it undefined. The resolution I take is that ##0^0## is ##1## if the exponent is only allowed to be integers. So ##a^n## where ##n\in \mathbb{Z}## only. If the exponent is allowed to be more general real numbers, then it's best to leave it undefined.
That said, if you choose to follow the convention of ##0^0 = 1##, then there is nothing wrong with that as long as you're consistent.