I am looking for a laptop to use for Linux development. There have been a number of "Ask HN" topics about this, but this one is a little different - I am not looking for a brand-new, top-end machine, but rather something to use alongside my MacBook Pro (which runs macOS and Windows via Boot Camp). My budget for this machine is only around $300.
If I spend the money on another MacBook (Air or 13" Pro) I am probably looking at a machine of 2011/2012 vintage. Unfortunately I'm not sure the Air machines will be sufficiently powerful for my needs (low-voltage CPUs, only 4GB non-upgradable RAM). Also, all of the the pre-retina MacBooks seem to be let down by their screens: glossy, TN panels with (except for the 13" Air) at most 800 vertical pixels.
Another option is a Lenovo ThinkPad, again probably from around 2012 (with the traditional 7-row ThinkPad keyboard). The ThinkPad X220 seems good, but is let down by its poor quality "clickpad" and, again, poor screen resolution (but at least IPS is an option). The T420s has a more traditional ThinkPad trackpad and better screen resolution, but no IPS and inferior battery life.
So, all of these machines have downsides. For my needs, I think the T420s is probably the best compromise.
Would you recommend (for or against) a ThinkPad T420s for use with Linux?
Is there another machine available for around $300 that I should consider?
The question is how much battery life do you want. I get around 3 hours with an older battery. I can push out more with different settings.
The Thinkpad T520 is probably an option with better battery life, but I have no experience with it. It's likely also significantly lighter since I don't think it requires the larger AC adapter. I'd try the T520 if I wanted something more portable.
I'm currently running Ubuntu 14.04 and run Windows in a virtualbox with no issues. I've used this machine since 2015. I don't notice a performance difference between this and my older desktop (2010-ish, 16gb, i7) running Ubuntu 16.04.
Edited to add: If anyone from Lenovo sees this thread, I'm snap upgrading if the Thinkpad "retro" is released.