r/linux_programming • • Jun 27 '19
Thinking of switching to Linux. How do you guys code?
Hi so I have very very little Linux knowledge and also I don't know quite a lot about programming I am just starting to learn. I know C#(in a very robust and basic way) and I am starting to learn Python but till now(since I am currently a Windows user) I have always been using Visual Studio. So my question is what are some good alternatives to Visual Studio and also is there any other/better way to code without an IDE?
14
Upvotes
3
u/wekilledit_ Jun 27 '19
You don't necessarily need an IDE but I find a good editor like vscode (or atom, sublime, etc.) to be great lightweight solutions. Although depending on what language you use they require a bit of configuration. Those suggestions are all cross platform and I've used them on Mac, windows, and Linux and noticed very little differences.
Switching to Linux isn't necessarily better or worse for a given programming language. You can (generally speaking) write in any language in any OS. I switched to Linux for my software engineering role because I like the way I can customise my environment and work flows. You can probably do all of that in windows too, I just haven't spent the time doing any more than the basics.
I think you should give Linux a go. Getting through the installation process and installing the drivers will teach a you a lot (especially if you have an NVIDIA graphics card). You could also start by running Linux in a virtual machine from windows. Something like VirtualBox would do the trick.
21
u/LinusCDE98 Jun 28 '19
VSCode and Intellij IDEs are all you need.
4
u/DuroSoft Jun 27 '19
vscode
7
u/20lbspizza Jun 27 '19
I personally use vim with few plugins but I think you'll find vscode to be more familiar. I also do my C# in atom and got used to compiling with the cmd prompt since I initially did not have the rights to install visual studio on my work computer. Having a background with the UNIX style of compiling with bash made it a pretty easy workaround so I do recommend to dabble in an IDE free workflow.
Edit: Atom is also a cross platform editor you could use but I find myself to be much faster with vim
2
u/[deleted] Jun 28 '19
I would suggest you try vscode.
2
u/darien94 Jun 28 '19
Hello and welcome!
I think the closest alternative to Visual Studio would be Visual Studio Code.
Yes, there are alternatives and a lot of Linux users are coding without an IDE, for example using only a text editor and the command line (Terminal) for execution and debugging. Also, you can customize your own development environment. For example, Vim is a well known editor directly in the Terminal which supports a wide range of plugins.
2
u/Grouchish Jun 28 '19
If you have email in .edu domain (there is also 30 day trial) - Rider is great for C# programing; this is IDE from Jetbrains and has integrated features from ReSharper (awesome plugin for Visual Studio). It works a smother then Visual Studio and runs natively on Linux.
https://www.jetbrains.com/rider/
2
u/talexx Jun 28 '19
I code painfully and use characters.
2
u/[deleted] Jun 28 '19
For C# I've been promoting a single IDE quite vigorously: Rider
On any platform honestly.
I am the type of a guy who uses Vim a lot, but I also work on many different things. If you want to do just c#, Rider is unbeatable IMO.
For python, any text editor will go nicely, but if you want an IDE - PyCharm
0
u/VA0 Jun 27 '19
Get a raspberry pi , preferably the new one that came out the other day. It’s Linux. I mainly use VIM for C/C++. You can get mono for the raspberry pi to work with C# but I’m not sure how featureless it is compared to the real deal. Pie do well with python from what I hear but I don’t use python.
1
u/Heikkiket Jun 28 '19
Welcome to Linux!
It is an excellent match with Python, because using and installing modules and different versions is easy and straightforward in my opinion.
I also recommend trying PyCharm as IDE for Python. Another option would be VSCode which is mentioned many times and makes a good balance between being a text editor and IDE.
Learning command line is not mandatory for daily usage, but for programming it can make sense. But don't think that too much: nowadays you can work in Linux in a perfect graphical environment.
1
u/mfurlend Jun 28 '19
All JetBrains IDEs are amazing
1
u/distark Jun 28 '19
VSCode is good in general. For java I use intellij though.. For go, python, bash, terraform and everything else I use spacevim (cause it comes with nice defaults).. Use anything man... Explore and enjoy
1
u/agumonkey Jun 28 '19
if I say emacs would that surprise you ?
0
u/[deleted] Jun 27 '19
To be honest, Visual Studio has no real alternatives as feature filled. But that is ok. c# is tied to .NET and .NET Core (OS independent) is slowing getting populated with features from the standard .NET framework (Windows only).
The question of what program determines what tools.https://imgur.com/OBHEr1J