The Accord is what happens when a company that knows how to build engines decides comfort and space matter just as much as the drive, and mostly nails it. The 2017-2019 1.5T burns head gaskets between 60k and 100k miles, a $2,000-4,000 repair that's common enough to be a known hazard; skip those years or budget accordingly. If you want a roomy, efficient sedan that won't bore you on a back road and won't strand you at 150k miles, the 2.0T or hybrid models deliver, just know the latest generation traded the sharp looks of the 10th gen for something safer and blander.
Two generations, two completely different stories. The 2007-2018 Altimas earned their brutal street reputation with CVT transmissions that failed around 100k miles even with proper maintenance, steering column locks that stranded owners in parking lots for $900, and dashboards that melted in the sun while Nissan looked the other way. The 2019+ redesign fixed the catastrophic mechanical issues and added segment-rare AWD, but arrives so damaged by its predecessors that resale value craters and nobody trusts the nameplate. Nissan's decade of subprime financing flooded roads with neglected examples driven into the ground, turning 'Altima driver' into a cultural punchline that obscures the current car's actual competence. Pre-2007 models with the VQ V6 and traditional automatics are legitimately durable. Anything 2007-2018 is a transmission time bomb. The 2019+ is a rational midsize sedan at a discount, but you're buying a car everyone assumes is terrible, plan on keeping it forever because resale is punishing.