Check out the compatibility first, but for quite a long time as a student I was using bargain bin laptops. Usually the components are common/old enough to work out of the box with Linux. If you're happy with performance, it's... ok.
The hardware improved enough that as long as it's got 8gb of ram and runs... You should be fine for minimal dev work.