If you are looking to build a nice machine for all your programming related work, I can share my computer configuration which I am using for running almost any application smoothly.
Minimum recommendation is i5 CPU
32GB, DDR4, 4000MHz
Would be great to run TIA Portal and more applications together
SSD are much better for faster and smoother experience
H270 Gaming M3
Would suits any motherboard which supports DDR4 RAM and SSDs
GeForce GTX 1060 6GB
You need it only to run FACTORY IO software. Otherwise computer without graphic card is also perfect.
If you are looking for a laptop, then I would recommend this. I am using this personally and works super smooth for all the application listed in the
Legion Y740 | 15"-Gaming-Notebook, GeForce RTX 2070 | Lenovo Deutschland
Das Legion Y740 15,6"-Gaming-Notebook mit NVIDIA G-SYNC, RTX 2070 Grafik, RGB-beleuchteter Tastatur und Dolby Vision HDR für ambitionierte Gamer. Jetzt checken.
I can run all the software mentioned in this link
How about MacBook?
MacBook is certainly gives us smoothest performance ever but most of the software for factory automation are not macOS compatible.
If you still want to use MacBook, then you need to install virtual machine with Windows in it. This is the only way around