DEV Community

Flez
Flez

Posted on

Linux or window. Why?

Top comments (34)

Collapse
 
lexlohr profile image
Alex Lohr

Let me explain it in form of a limerick:

Now Windows is still the best way
if all that you want is to play,
Use Linux to hack
Or else get a Mac,
if you are really happy to pay.

Collapse
 
jonaspetri profile image
Jonas Petri

Wow, that’s a brilliant limerick!

Collapse
 
ada_pow profile image
Ada Powers • Edited

This is quality!

Collapse
 
ivan_jrmc profile image
Ivan Jeremic

You can hack on all three and I like to play so Windows ;)

Collapse
 
zawzawmyint profile image
Flez

Now I am using Linux OS . I think that is good to use.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡ • Edited

There's no possible discussion nowadays on this question.

Windows + WSL (windows subsystem for Linux)

That means you have a windows 10/11 plus a Linux core in the same OS.
WSL2 was a great push on this tech and WSLg is promising to be even better (didn't tried it yet).

Check the Microsoft official documentation about WSL.

Remember to update your windows to the latest version before.



Back those days I had dual boot so I was using Elementary OS, Ubuntu, Debian or whatever distro to code and if I want anything else I had to reboot, log in into windows and do whatever I need to do.
Design tools in Linux are sh*t, gaming on Linux is a joke (nearly as sh*t as it is with MacOS) and so on.

Usefulness
With WSL the dual boot thingy is gone, I've all my setup in the same OS/environment plus I can use tools like PowerToys to split my secondary screen into 3 parts (I've the secondary screen in vertical) and other useful utilities that are shipped along powertoys like a color picker.
Other tools like DevToys are useful as well, I'm using them almost every day, and they run on windows so another mini-point to this setup πŸ˜†

Ergonomics
A better compatibility with monitor drivers, peripherals and gadgets on Windows (in comparison with Linux and MacOS) is also a must. Having my screen running at higher framerate (170Hz for the main monitor, 75Hz on my secondary one) plus with FreeSync/G-Sync enabled while working to reduce flickering is nice to my eyes and my eye fatigue at the end of the day.

That's something that you simply can't reach with MacOS or Linux 99% of the time.




Edge cases

If you are going to go all for smartphone apps, I feel that there's the only case where MacOS would be required (meaning iOS MacOS Apps, even using frameworks such React Native).

If you're going to code Android Apps only then windows is OK as well, but having a Mac opens the door to iOS development.
Collapse
 
melvnl profile image
Melvin Liu

Speak from personal experience , at some point in your career, you will stumble upon bunch of installation error (node error, etc) that won't happen in UNIX based (mac or linux), yet very painful to workaround in Windows.

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him) • Edited

I'd say Linux for development because you're usually closest to the deployment targets (docker, kubernetes or any unix based environment). But that's easy for me to say having a Linux, Windows and a Mac ready on my desk.

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

I ended up selling my MacBook Pro in 2017 and never look back πŸ˜†
Now I've just an iPad mini to test things in Safari and that's all.

What do you use your Mac for? Have you tried using WSL in your windows to get rid of the Linux one?

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him) • Edited

If anything I'd try to get rid of windows and macOS. Was using the Mac way more when I was still working as a composer. Today I use the Mac as a communication machine. Teams, Slack etc. And for testing. The same (plus gaming) on Windows.

Collapse
 
devdufutur profile image
Rudy NappΓ©e • Edited

What a troll bait... πŸ˜“

macOS + brew, win10/11 + wsl, linux + apt/yum/... Whatever !!

With code & intellij available everywhere, I don't care what os my employer give me as long as they give me a good machine with root access 😁

Collapse
 
ernestvonmoscow profile image
VanPonasenkov

GNU/Linux. Because Free (Free as in Freedom) software is easier to use period. I don't need windows' videogames or MacOS' video editing software, and in general, proprietary software often feels unintuitive and clunky to me. Apart from the practical side of things, i also think that GNU/Linux pushes you to think about the ethics of things, windows or MacOS might be "convenient" to use, but by using them you essentially become a puppet of the proprietor, even if you're using a torrented and/or modified version. Even if Windows or MacOS were 95% "open source", the 5% of un-opensourced code would still be enough to plant malicious features, thus subjugating user freedom.

Collapse
 
grantdotdev profile image
Grant Riordan

Been a Windows users for 20+ years. Never used a mac, and only used Inux to repair bricked laptops up until 2 months ago.

Now I work on a mac daily and liked so much i even nuked my my windows machine and installed lastest Ubuntu.

I'm converted. Mac OS is amazing for a lot of things, bht as a dev I do prefer Linux for flexibility and lack of bloatware.

I see no benefit these days to choosing an OS. Used to be windows only supported .net development no with .net Core upwards you can run this only machine.

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

Mac because it's free

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

It's certainly not

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

I didn't pay for the last two macbooks πŸ€”

Thread Thread
 
syeo66 profile image
Red Ochsenbein (he/him)

Well. Someone did pay for the hardware and with that for the OS as well.

Thread Thread
 
adam_cyclones profile image
Adam Crockett πŸŒ€

but not the OS, the MacOS is free ➰

Thread Thread
 
adam_cyclones profile image
Adam Crockett πŸŒ€

Im pulling your leg dont worry, this is a comment about the disposable nature of office provided hardware

Collapse
 
dilutewater profile image
Rachit Khurana

Better questions:
Do you like tinkering with your pc or not?
Do you like freedom to choose everything or not?

And yes, I switched to linux a few months ago and I'm never gonna switch back.
I am a happy kde user