Arguably, modern IDEs are decent GUIs for general purpose programming. Comparted to programming by editing files in a bash shell, they provide lots of visual tools (autocomplete, debugging) to track the dependencies between objects in the code, which is what a graphical interface provides over independent files.