Behrami quit West Ham for Fiorentina in January.
He said: "Allardyce has a strong personality, which is what West Ham need right now.
"His results speak for him but his football is not very attractive.
"I'd never want to play for a manager like him. I enjoyed my time playing for Zola because he always wants to play with the ball and to entertain the crowd.
"But for West Ham right now, style is not so important. The big thing is to get back to the Premier League quickly."