To be or not to be...
If you ask me: "Luigi, is it better to buy or to rent?"
I would answer: "It depends.".
You should consider some key factors like: how long are you going to live in that apartment? How do you feel about moving to the city? Are you available for a career-change?... and some other personal evaluations.
But, if you want me to evaluate your choice under a financial point of view, you can take a look at this interactive chart on The New York Times.