The Mid 2011 was the last with an optical drive. Also one of the last semi-upgradable models. Hence why I spent a decent amount to max out the CPU and GC from the factory and have spent money since on RAM, SSD, HDD and a Thunderbolt doc.
There really isn’t a lot this computer can’t do that I need it to. I’ll eventually make the jump from 16gb of RAM to 32gb when I can. I do a fair bit of work with VM’s, so the more RAM the better.
At the moment, for anything super intensive (like virtualising ESXi and VM’s on top of it), I am using the PC I built earlier this year. It’s fast enough to probably last me a good 5 years. Also supports up to 64gb of RAM which is handy. Will add more SSD storage when the storage drive performance finally causes me to lose my mind.
@Colin1942
A 2009 iMac, especially if one with an upgraded CPU/GPU, should be fine for another year or two. Really, it just depends on what you do with it. If it covers your needs and doesn’t have gaping security holes because of its age, then no need to upgrade.