I wouldn't have bought an i5 with 4 GB of RAM and 128 SSD for my sw development job in 2013. I had a Core Duo 2 with that much RAM from 2006 at the time (well past its end of life). That was still pretty ok CPU wise but the memory became really tight. I could make it faster with a SSD but it wasn't worth it.
I bought an i7, 16 GB (up to 32 GB) laptop at the beginning of 2014, with a 750 HDD that I swapped with a 1 TB SSD an year later.