I have a tendency to say things like:
It was nice with cake.
Usually it's in the form of:
It was adjective with noun.
whereas my wife is always correcting me to:
It was nice to have cake.
I agree that the latter is correct, but I was wondering whether the use of “with” is horrible grammar.