Revisiting the Impact of Pursuing Modularity for Code Generation