I like the way the 335 looks over the 328 and the 335 is faster so I'd go 335.
A few questions:
How long do you plan on keeping the car? Past the life of the loan which is 4 years, need to eliminate a monthly payment to get a condo/home
How long is the warranty? For example, is the warranty up in 2013-2014? For the 335 the Warranty is expires in 11 months/7200 miles for the 328 it has 14 months/5800 miles but the 328 I can by an extended warranty for 24months/24k miles and the cost will still come out less than the 335. The extended warranty is $2100
I'm assuming you are financing? Will you still be making payments when the warranty is over? Yes
Depending on your answers, leasing a 2013 may be a better option than buying the 2010