I've went into argument with my friend, who says that for building applications, using jquery .css function, is more flexible, readable (since attributes sit in the same file), and overall better versus the addClass. For me addClass is much better, since it allows to keep code clean, and keep the logic of functions, outside the style propereties.
What do you think, and if you agree - how can i convince my friend to start using addClass? Or maybe im wrong all along?