Navigation

Why is Linux better than Windows for programmers?

Windows: Download Putty, download puttygen, convert id.pem into id.ppk using puttygen because the best ssh client in the entire windows ecosystem that is putty can’t even recognize industry standard ssh keys, configure your putty connection so that it uses id.ppk for authentication, write user@>remote-ip> into remote host place, click connect.
Why is Linux better than Windows for programmers


These are the reasons



1) How to SSH into your server:
Linux:
  1. sudo ssh -i id.pem user@<remote-ip>
Windows:
Download Putty, download puttygen, convert id.pem into id.ppk using puttygen because the best ssh client in the entire windows ecosystem that is putty can’t even recognize industry standard ssh keys, configure your putty connection so that it uses id.ppk for authentication, write user@>remote-ip> into remote host place, click connect.

2) How to upload files into your server using SFTP:
Linux:
  1. sudo sftp -i id.pem user@<remote-ip>
Windows:
Download FileZilla, configure an SFTP connection to user@>remote-ip>, select your id.pem as authentication key, do some other bullshit stuff that I don’t even remember what and how to do, click connect, finally you’re in.

3) How to set up development environment:
Linux:
  1. sudo apt-get install build-essential
Windows:
Install the latest visual studio distribution.

4) How to develop a software:
Linux:
Write your code, run it, get a few errors, fix them, run again, everything is working.
Windows:
Write code, try running your shit, get 23 errors, fix them, get 2 errors, fix them, get 56 errors, fix them, get 4 errors, fix them, get 12 errors, fix them, get 8092 errors, fix them, get 19 errors…

5) How to install an open source software that is a crucial dependency of your project:
Linux:
  1. ./configure
  2. make
  3. sudo make install
Windows:
Try looking for prebuilt binaries. No luck. Try building it yourself with visual studio, get 23 errors, fix them, get 2 errors, fix them, get 56 errors, fix them, get 4 errors, fix them, get 12 errors, fix them, get 8092 errors, fix them, get 19 errors…

6) How to install every single postgres extension:
Linux:
If the extension is available as a apt package:
  1. sudo apt-get install <extension-name>
If not:
  1. ./configure
  2. make
  3. sudo make install
Windows:
Cross your fingers so that the enterprise db distribution comes bundled with it. If yes, good. If no, try building it yourself with visual studio, get 23 errors, fix them, get 2 errors, fix them, get 56 errors, fix them, get 4 errors, fix them, get 12 errors, fix them, get 8092 errors, fix them, get 19 errors…

7) Docker support:
Linux: Native
Windows: You need to use a VM that runs a Linux distro so that you can run docker on it.

8) Managing conflicting versions of stuff:
Linux: Create different users, set .bashrc of different users with different versions
Windows: LOL

9) When you need to change one environment variable:
Linux: Make the change on the .bashrc, run “source .bashrc” on terminal, good to go.
Windows: Reboot, realize that you mistyped a single character, fix it, restart again.
I can go on and on and on and on and on all fucking day long. I don’t think I need to though, you should be able to get the idea.


>> Also you can read: What version of Linux should you install


مشاركة

أضف تعليق:

0 comments: