If you only want to use your laptop for programming, a 500 GB hard disk is enough. To install various IDE or programming languages and required files, 500 GB is more than enough for that.