Yes, most of the simple code editors will run smoothly on 4 GB RAM. If you want to develop apps and games then you’d need a minimum 8 GB to run the software.