What are some alternatives?
When comparing Microsoft Visual Studio and Xcode, you can also consider the following products
IntelliJ IDEA - Capable and Ergonomic IDE for JVM
Eclipse - Eclipse is an open source community, whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle.
Android Studio - Android development environment based on IntelliJ IDEA
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.
Visual Studio Code - Build and debug modern web and cloud applications, by 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.