Tricky one.
I don’t have one favourite writer but several so I will list all of them.
First and foremost it has to be Bill Finger for all of his early work in developing the characters and the whole Gotham world.
I also like Frank Miller for his work on Dark Knight Returns and Alan Moore for the sublime Killing Joke.