In terms of performance, 8GB DDR4 RAM is better than 4GB RAM.
Having more RAM allows your computer to handle multiple tasks and applications simultaneously without slowing down. It provides more memory space for data and programs to be stored, resulting in smoother multitasking and faster overall performance.
4GB RAM may be sufficient for basic tasks like web browsing, word processing, and light multitasking. However, if you plan to run more demanding applications, such as video editing software, gaming, or running virtual machines, 8GB RAM would be a better choice to ensure optimal performance.