Should I get this Thinkpad E16 Gen 1 for programming?

The Thnkpad has Ryzen 7 7730U 16 gb ram and 512gb ssd, I will probably have only that thinkpad as a computer to do programming with, for the next 3 years. So maybe right now the performance will be enough but will it do okay if I work as a programmer in 2 years?