It was quite a good death. Especially if he indeed achieved something useful with it. Whatever that code contained plus everything the frogs also saw and learned.

It wasn't an overly flashy dead but on the other hand that might be only good. Deidara's nuclear explosion was getting out of proportions anyway since we are talking about individual humans here.