What are some alternatives?
When comparing Visual Studio Code and Xcode, you can also consider the following products
Atom - At GitHub, we’re building the text editor we’ve always wanted: hackable to the core, but approachable on the first day without ever touching a config file. We can’t wait to see what you build with it.
Microsoft Visual Studio - Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft.
Sublime Text - Sublime Text is a sophisticated text editor for code, html and prose - any kind of text file. You'll love the slick user interface and extraordinary features. Fully customizable with macros, and syntax highlighting for most major languages.
IntelliJ IDEA - Capable and Ergonomic IDE for JVM
Vim - Highly configurable text editor built to enable efficient text editing
Android Studio - Android development environment based on IntelliJ IDEA