Is 8GB Ram ,i5 6th gen laptop sufficient for coding and programming?

I bought a laptop hp ProBook 640 g2 8gb ram 256 ssd i5 6th gen with good battery backup, please tell me,is it good for coding and programming ? I am doing btech (cse) currently .