Collins dictionary defines magnanimous as - 'If you are magnanimous, you behave kindly and generously towards someone, especially after defeating them or being treated badly by them.'
However in the below sentence from the book - Programming Constructs in Java it seems to be used in different sense.
'We believe if the foundation of a building is strong then it is strong enough to hold a magnanimous structure. Similarly, this book has dived into the depths of concepts for its pursuers.'
I am not sure what a "magnanimous structure" here means, how can a structure be kind or generous? I feel that the author may have wanted to use a grandiloquent word for magnificent, but got it mistaken for another word "magnanimous"
Another usage of the the term 'magnanimous structure' from a TripAdvisor forum: “Absolutely breathtaking, magnanimous structure of gravity”
Googling for "magnanimous structure" with the double quotes gives a couple of results all of them describing some building. So is it legitimate to describe buildings as "magnanimous" as some people have done it on the Internet?