You have a fair point that African countries have more diversity than Singapore, but that begs the question-what makes diversity a bad thing?
I don't say anything about African countries in my comment, that must be from upthread.
But I would think that most African countries are also at a scale different from Singapore's; enough to just make Singaporean solutions unworkable. This does not mean that it's a bad thing, just different. If one were to press the point, I'd say that scaling anything up is just harder – this applies to nation states just as it does to websites.
> India and Bangladesh were colonies as well, but they are quite a bit more functional than your typical African country.
I am not entirely sure this is true if you consider the rural parts. Rural India (with 65% of the population) has more in common with most African countries than it does with anywhere in the West. A large part of this is due to the fact that the British never had any interest in settling there in large numbers; and consequently never invested significant efforts into building infrastructure for the rural parts. They preferred to strike deals with existing power structures that allowed them to profiteer off the land. I could reasonably see African countries having similar problems given their relatively low population density in the 19th and 20th centuries.
I think colonialism gets blamed because it's the closest external thing in time that can be blamed. Counterexamples like Singapore get bandied around, but the difference between a state the size of Singapore and something like India or Bangladesh is staggering enough to make the comparison essentially useless.
It is an interesting thought experiment to imagine what the consequences would have been of a more gradual transition away from British rule in the Indian subcontinent. My imperfect amateur historical study makes me think it would have been a net positive, but potentially would have led to partition into at least 5-6 different independent states before they did leave for good.