r/AskComputerScience • • Jul 08 '19

Why is Linux so better that developers laugh at me when I say that I use Windows?

I am a newbie so excuse me if this is a stupid question, but I don't really understand what options does it provide that it makes it so better for developers to use instead of other OS

67 Upvotes

58 comments sorted by

37

u/[deleted] Jul 08 '19

The laughing is because developers are assholes. The reason is because Linux is almost comprehensively better and Microsoft likes to buy and crush everything that is right and good in the software world.

4

u/[deleted] Jul 08 '19

I think since Satya Nadella Microsoft is taking a turn for the better.

0

u/[deleted] Jul 08 '19

[deleted]

11

u/overlydelicioustea Jul 08 '19

and then theres governemnt where every tool, software, everyone and evereverything assumes your on windows.

3

u/VileFairy Jul 08 '19

Especially government in my small country in Europe - my aunt used windows xp on her job until last year when they got new computers with windows 10 😄

1

u/[deleted] Jul 08 '19

I do a lot of development with hardware, and I find that there are a lot of hardware tools that have drivers that work on Windows, but not Linux. Example

This means I've been developing primarily on Windows for my local machine. Any time I've needed to develop for Linux, it's involved SSHing into a server, so my local machine's OS didn't matter.

119

u/[deleted] Jul 08 '19

A lot of gatekeeping or unhelpful and incorrect snickering about windows in this thread.

The best answer in my opinion is a bit more complicated than “Microsoft Bad, Windows Users Dumb” so feel free to ask questions or clarifications.

Linux (and macOS, for reasons that will be relevant in a bit) are what’s called “POSIX compatible”. POSIX is basically a set of rules for how a program can run on an operating system. All operating systems have their own sets of rules, but if an operating system is POSIX compatible you know that any program that can run on a POSIX OS will run on any POSIX OS.

POSIX can trace its roots back to the original Unix operating systems developed by Bell Labs in the 70s. Windows wouldn’t be created until 15 years later (1985, windows 1.0). Much of the initial work on programming tools like compilers was first done on Bell Unix, including the invention of the C programming language.

Today, most programmers use POSIX systems because the history of computer science research and development is all on Unix, Linux, and later macOS, because all of those OSes can tracer their lineage back to the first UNIX systems. The tools for programming, and the ability to know “this person wrote this code on Ubuntu but I’m pretty sure it will work on my Mac” is incredibly useful for doing work as a programmer.

Programmers who laugh at you for using windows are both jerks and just plain wrong since Microsoft introduced the “Linux Subsystem for Windows”. Basically they built a mini version of Linux into Windows 10 so windows can now run any POSIX code just like Linux can.

As for macOS, many programmers in the industry use MacBooks because the hardware is high quality and since about 2000 macOS has been POSIX compatible too. The point somebody made about windows having “training wheels” is just silly since 90% of professional programmers I know are using macs and plenty of people make the same claims about macOS.

At the end of the day, with Linux Subsystem, the real difference between your options are what you can afford and what you prefer to use, nothing else. I’d strongly recommend learning more about the Linux subsystem and getting comfortable with it since it will be where you go to use most of your developer tools, but don’t worry about the OS overall.

11

u/Nu11u5 Jul 08 '19

Windows actually had a POSIX compatibility component since Windows NT in different forms.

https://en.wikipedia.org/wiki/Windows_Services_for_UNIX

2

u/WikiTextBot Jul 08 '19

Windows Services for UNIX

Windows Services for UNIX (SFU) is a discontinued software package produced by Microsoft which provided a Unix environment on Windows NT and some of its immediate successor operating-systems.

SFU 1.0 and 2.0 used the MKS Toolkit; starting with SFU 3.0, SFU included the Interix subsystem, which was acquired by Microsoft in 1999 from US-based Softway Systems as part of an asset acquisition. SFU 3.5 was the last release and was available as a free download from Microsoft. Windows Server 2003 R2 included most of the former SFU components (on Disk 2), naming the Interix subsystem component Subsystem for UNIX-based Applications (SUA).


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28

6

u/Senator_Ahn Jul 08 '19

This was so beautifully and well written it brought a tear to my eye

4

u/anamorphism Jul 08 '19

just as a minor correction ...

it's windows subsystem for linux (wsl). it's not really microsoft building linux into windows 10, it's a windows subsystem built to facilitate running linux from within windows.

ubuntu and suse are available to install from the store but other folks have done work getting other distros going. this person seems to have gotten centos, arch and alpine working: https://github.com/yuk7.

1

u/[deleted] Jul 08 '19

Thanks for the correction on the name. As for Microsoft building Linux in, my understanding is that WSL 2 is a full Linux kernel bridged to the Windows kernel.

1

u/[deleted] Jul 16 '19

This answer gives the impression that the Windows Linux Subsystem is a complete replacement for an actual POSIX operating system. It is not.

1

u/[deleted] Jul 16 '19

I believe this answer adequately answers the question posed. Don’t necro.

1

u/[deleted] Jul 16 '19

I don’t know what necro means. I only meant what I stated.

1

u/Tai9ch Jul 08 '19

Using the Linux subsystem for Windows for development is like using WINE for gaming - it mostly works, but sometimes it's a horrible mess. I prefer to keep horrible messes and production code separate.

1

u/[deleted] Jul 08 '19

Certainly nobody is suggesting you use WSL on your servers when you could just run whatever LTS server distro you want. But development and production environments are separate for a reason.

1

u/Tai9ch Jul 08 '19

But development and production environments are separate for a reason.

That reason isn't that you want them to be functionally different.

Developing with WSL will never be as clean and consistent as just running Linux locally. If developing code for Linux is literally your job, then there's not really any excuse for compromises in your dev setup.

-8

u/admiral_asswank Jul 08 '19 edited Jul 08 '19

Am I arrogant for thinking you didn't get to any details of why people prefer Linux over Windows?

Overheads, under-the-hood controls, absolute extensibility (beyond creating your own custom OS, which you can nearly do).

Reasons people may not want to use Linux include GPU compatibility with certain distros - looking at nVidia here - and other finicky issues with non-compliant hardware.

To say Apple uses high quality hardware is moot, anyone can build a high-quality system, with much better longevity than an apple product.

Considering how they've handled macbooks (Thermal issues) and the trash-can (thermals again and lacklustre performance) pro and now the $1000 aluminium stand (it's just a fucking stand lol). Yeah bud. I don't think anybody can justify wasting that amount of money unless their answer is honestly: "I want to show off how much money I can waste".

Whats wrong with Windows explicitly? Spyware. It's Spyware distributed as a professional Operating System. You can get into it and customise the registry, but Microsoft hold absolute rights over you, what version you use, what patches you install and who they share the information they "consensually steal" from you.

It's also heavier than most Linux distros. It also demonstrates you've done zero research and just use Windows because that's what was available to you before you looked to Google...

Of course, if you're a working professional - familiarise yourself with all 3 main families: Apple, Windows and Linux.

Different companies have different systems, for different reasons. Some companies hold onto an OS purely because they did a cost:benefit for upgrading the software and realised its just cheaper to keep everyone using Windows 95 for a single legacy piece of shit program that they force you to use lol

6

u/DonaldPShimoda Jul 08 '19

Considering how they've handled macbooks (Thermal issues) [...] I don't think anybody can justify wasting that amount of money unless their answer is honestly: "I want to show off how much money I can waste".

Uh. I mean sure, it can get hot sometimes, but if I were needing to buy a new laptop today for development it would 100% still be a MacBook Pro, and not because I just have some stockpile of money and a need to flaunt it or something.

I use macOS because I want a Unix-like OS that's highly polished, not prone to breaking (and software tends not to be broken), and is a target for certain kinds of third-party non-free software (like Adobe stuff). I don't want my OS to be a hobby project of customizations and tweaks; I want it to "just work". And I buy from Apple because, in my experience, their service has always been stellar: any issue I've ever had, they've rectified quickly and with reasonable (or no) cost to me. Yeah, it costs more, but for me that cost has been worth it compared to the Windows and Linux laptops I had previously, though I recognize that the added cost is not worthwhile for everyone.

I also use an iPhone, so the interoperability of iOS with macOS is pretty useful to me.

And I do think Apple has had more issues lately with their computers than I'm really comfortable with, so I won't be replacing my laptop any time soon, but based on my previous MacBook I expect my current one to last quite a few more years so that isn't an issue.

Also:

anyone can build a high-quality system, with much better longevity than an apple product.

While a system you build yourself may have greater longevity (which I'm a little skeptical of but won't argue), it certainly won't have as high of a resale value. Apple products are unparalleled in this regard, really. You can sell a five-year-old MacBook in good condition for more than half its original purchase price, which you can't say of its competitors or of a custom-built device.

5

u/admiral_asswank Jul 08 '19 edited Jul 08 '19

Depends which generation of mac - surprised to see plenty of anecdotes instead of reference to article. It doesn't take much digging through tech-press, or even just having surface level knowledge of the tech world, to be conscious of the macbook's historical failure to address inadequate cooling.

They've done it for 2019 - finally releasing a thicker chassis to support better cooling.

It's not an Apple problem it's a physics one. CPU with lots of cores packed in a very thin space = thermal throttling. It effects all laptops of that type.

The ease of which you can move your data between devices and synchronise them is definitely a huge boon. Android to Windows, or android to Linux is relatively clunky when compared to the Apple family. But that's preference. I've "programmed" my own syncing solution. It also just works.

This is /r/askcomputerscience after all.

I will defend personal building for servers and desktops. You can build any Apple carbon-copy for up to half its retail price. You're paying for the software and support.

But it's a shame that customisable laptops just aren't that commonplace, or where they are they use absolutely terrible supporting-components. That said, some excellent workstation laptops are pushed at amazing prices by Asus, HP, Dell, Lenovo, etc.

Apple aren't really competing with these guys, their marketing just exists to keep their current clientele.

I haven't really said Apple are bad - I just think the value isn't present in today's market if you do any measure of research. If you like the system and you can afford to use it, why should you switch? I speak to the people who push for custom systems, that aren't just switching a machine on to do some web development or Photoshop or simple networking. And the people who are independent and every dollar counts.

To address your history of never having thermal issues: you wasted your money. If you're not using a core i7 or core i9 to do rendering (or equivalent computation), but you're just writing code on it. Congratulations you bought a $1500-3000 typewriter, or you've underclocked it so it doesn't reach throttle-zones...

3

u/[deleted] Jul 08 '19

You can rail against MacBooks in technically correct ways all you want. Not my point. I’m a software engineer in Silicon Valley. I have yet to work for a startup or established company that didn’t default to high-end MacBooks for their developer workstations. When one startup I worked at started considering Linux workstations it was because we got bought by dell and Michael Dell toured the office and didn’t like seeing a bunch of competing hardware...

Fact of the matter is that if you get your coding done nobody cares that much about tinkering or overhead unless they individually care about tinkering or overhead. 9/10 of my peers use Macs and have their fingerprint in there to unlock it. They’re willing to trade privacy for convenience.

My point is that programmers are not a monolith. Everybody makes trade offs based on their ideologies and preferences. At the end of the day the historical reasons for using posix systems are most relevant and everything else comes down to the individual.

1

u/admiral_asswank Jul 08 '19

Yknow, if it's company provided then mac books are amazing machines when they're working in their limits. It was always just the value for money from a consumer perspective.

1

u/[deleted] Jul 08 '19

I’m just sayin’... nobody’s turning their noses up at company provided MacBooks because the OS doesn’t let them customize enough.

1

u/admiral_asswank Jul 08 '19

No, me either hahaha.

1

u/Yorshelf Jul 08 '19

dude yes, let them hate

-1

u/admiral_asswank Jul 08 '19

I'm not sure why I got downvoted - is it because I criticised Apple? That's really naive if so. All operating systems have critic-able traits. I called Windows literal Spyware lol, but apparently pointing out historical thermal issues and a $1000 lump of aluminium is bad. I even also explained that Linux isn't perfect too, because of driver compatibility.

The reading comprehension of kids isn't something too special I suppose.

0

u/[deleted] Jul 08 '19

[deleted]

3

u/da_ching Jul 08 '19

Programmers who laugh at you for using windows are both jerks and just plain wrong since Microsoft introduced the “Linux Subsystem for Windows”. Basically they built a mini version of Linux into Windows 10 so windows can now run any POSIX code just like Linux can.

I feel like the ethical and political reasons for using Linux play a lot, though.

11

u/[deleted] Jul 08 '19

"Developer" is a loaded term, it's like saying I work in the film industry.

Depending on what kind of 'developer' you're trying to be or achieve, questions like what OS you use may or may not be relevant.

19

u/Rindhallow Jul 08 '19

Libraries/software/command-line-tools are much easier to install on Linux than on Windows. Developing on pure Windows requires jumping through a lot of hoops to get things done.

For example, if you want to run a python script/file, you need python installed. In Windows you'd have to go to some Python website, down some .exe file, run that, and go through steps to install Python. And even then, it's kind of a guessing game as to how to actually run that Python file on your computer.

In Linux (and Mac, sort of), installing pythin is literally `sudo apt install python`. Running your script is then `python filename.py`.

It's much quicker (and more reliable) to set up Linux than Windows for development.

11

u/KuntaStillSingle Jul 08 '19

If you are a programmer, or even a kid who can figure out how to installl Minecraft, you can figure out how to install Python on Windows. I think the biggest drag is less control over certain features of the OS, I don't know how to permanently kill Cortana for example.

4

u/james4765 Jul 08 '19

Although you can do it, there's a significant number of libraries that will not work on Windows. I've done Python on Windows, and it's annoying in very specific ways.

3

u/zensational Jul 08 '19

If you have Chocolatey for Powershell you can just do "choco install python."

2

u/andybmcc Jul 08 '19

In Linux (and Mac, sort of), installing pythin is literally sudo apt install python. Running your script is then python filename.py

Which goes to a web service with a listing of packages and downloads the package installer. If the application you want isn't in the default listing that comes with the distribution, then you have to manually add a new URL for the web service or download and build manually from source. It's a fairly similar process.

25

u/oakles Jul 08 '19

In the simplest terms: Windows is an operating system with training wheels to ensure the user doesn’t completely fuck the computer. While this seems good (and is in some cases), these training wheels can make development more difficult to navigate around.

Linux is an OS without the training wheels. You have the liberty to create and destroy anything and everything your system.

-51

u/RMS_Bot Jul 08 '19

You see, well actually, it's GNU + Linux.

You should only use free software.

26

u/oakles Jul 08 '19

fuck off, bot

6

u/soulwarp Jul 08 '19

Linux provides all it's source code freely for the user to change if they wish. Microsoft does not. You can have a complete system for free with all the tools you need to change your system - compilers, IDEs, libraries, artwork... you name it. Open source licences give users the right to make changes to programs and distribute what they make if they choose to. Microsoft's software is copyright and distributing their software needs a separate licence that requires money.

3

u/Tai9ch Jul 08 '19

There are significant benefits to developing on the platform where your code will be deployed. Especially between Linux and Windows, there are huge differences in how the systems work.

In addition to the obvious issues with compatibility, developing on your target platform also gives you more opportunity to get more familiar with its details. All of those details don't always matter, but frequently some of them do, and it's difficult to predict (or even identify) if you aren't deeply familiar with the platform.

For many domains, Linux is currently the standard for production deployments. This includes most web / internet stuff, as well as domains with embedded full computers like robotics, "smart" devices, networking, etc.

Macs are popular among devs because they get you ~80% of the way there without forcing you to install an OS or buy apparently-niche hardware for the preinstall. But that 20% matters - file system case sensitivity differences will get you every couple years, for example.

That does mean that if you're targeting Windows you should run Windows. Windows servers still exist in medium size businesses, and some desktop app development still happens - although it feels like that's 90% games nowadays.

10

u/Merad Jul 08 '19

It isn't "so better." Linux allows and encourages you to tinker with the OS in ways that Windows makes more difficult. While this kind of tinkering certainly appeals to many programmers, it has little to no bearing on your ability to write code. If you're working in a language that supports both Windows and Linux, use whichever you prefer.

2

u/rdnasim Jul 08 '19

Lot of reason for your situation. I will attached some point in your criteria.

  1. Privacy - If you have ever used Windows 10, you could only head into the privacy settings to know that everything is enabled by default. Even if you opt out to send Microsoft information about your data, it is still being collected. Of course, Microsoft will not bother revealing it officially with a press statement, but it surely does. So, you would need a set of tools to disable the spying modules of Windows. In contrast, Linux would be the perfect solution for a privacy buff. First of all, Linux distributions do not collect much data (or none). Moreover, you will not be needing additional tools to protect your privacy.

  2. Reliability - Windows, you will have to adapt to a habit where you keep on rebooting the system for just about everything.

  • If you just installed software, reboot!

  • If you recently uninstalled software, reboot!

  • If you just installed a Windows update, reboot!

  • If the system seems to slow down, reboot!

    • However, in the case of Linux, you will not have to reboot for the situations mentioned above. You can comfortably continue with your work, and Linux will not bother you.

  1. Better Community Support - You do not need to hire an expert to solve a problem you are facing on your Linux system. You just need to search for a similar thread on the web for a solution or post a thread to let others solve the problem. Within minutes of posting a thread on any of the Linux forums, you may expect a reply along with a detailed solution which would finally help resolve your problem at no cost! There are a lot of active Linux users who are always ready to respond to a relevant thread one might have created. The number of community users active on such forums is more than the number of active members on any Windows-focused forum

  2. Free to Use - Linux is accessible to the public for free! However, that is not the case with Windows!

  3. Variety Of Distributions - For example, there are Linux distributions for hackers, there are Linux distributions for programmers, there are Linux distributions for extremely old computers. There is a Linux for everyone. But in your windows there have to no option.

Many of other point not attached here... Actually that's the main reason laugh at you when you say that You use Windows. :p

2

u/[deleted] Jul 16 '19 edited Jul 16 '19

Unless you’re working with Microsoft technologies, or require Windows exclusive tools, Linux and Mac OS usually provide a much saner programming environment. That’s an objective reality. The snark is unnecessary, though. Some people are jerks.

4

u/combuchan Jul 08 '19 edited Jul 08 '19

It is, but they shouldn't laugh at you.

  1. Linux is a bitch on the desktop, in the real world we use macbooks to get over the endless bugs and configuration issues while providing a stable Unixish development environment that Linux should be but often isn't.

Tbqh, I don't have the fucking time for linux and its gimpy Windowsish desktops where Ctrl-A selects all instead of going to the beginning of the line or swap isn't set up or the DE is unusable/awful or whatever issue I'm either dealing with or struggling to ignore that day. (source: ubuntu from last year). Generally easy to fix, but a timesuck nonetheless.

2) IT doesn't tend to support linux because you have compliance and other security things installed like mandatory VPNs, device/user management, hardware support, and/or antivirus that IT requires. Good on them for going through those hoops, I have better things to do (see #1).

3) You need to use what you are comfortable with to be most productive if you can't or most likely don't have the time to dedicate to switch.

4) If you're in a professional environment you shouldn't be getting laughed at if you're getting stuff done. It's disrespectful, nonproductive, and contributes to a hostile working environment otherwise.

Fuck the neckbeards and focus on your own stuff.

edit: downvoters should wipe their tears in their neckbeards. JFC you people are sensitive.

7

u/mkfifo Jul 08 '19

You are likely being downvoted because your post isn't directly answering OPs question but instead going on a tirade about how you think Mac is better than Linux.

(1) "in the real world" always make me skeptical.

"Gimpy windowsish setup" isn't particularly helpful or constructive for the OP.

"... Ctrl-A ..." It just sounds like you're used to Mac (or something else) keyboard shortcuts and dislike the defaults for whatever desktop environment you used.

Last year I switched two of my development devices (one personal and one for work) from Linux to Mac and I've found Mac is at least at buggy as Linux, they just break in different places and ways. Mac is halfway between Linux and Windows in terms of ease of development specific tasks.

The easiest OS is a combination of:

  • what you are familiar with

  • what your colleagues are using

  • what your employer offers the best support for

(2) seems particular to your work place. It's common within the development world for employers to install Linux as the default OS and offer support through their internal IT departments, many also offers other OSes like Mac. If you are embedded within a non-IT-specific company then things are likely different.

(4) completely agree. Any serious developer shouldn't be laughing at you, that's between childish and hostile work place.

1

u/combuchan Jul 08 '19 edited Jul 08 '19

You are likely being downvoted because your post isn't directly answering OPs question but instead going on a tirade about how you think Mac is better than Linux.

I don't think I said or meant that. I certainly jabbed linux for what it is but the point of my reply was to OP's question that Linux or a unix workalike is far superior to Windows for development but he needs to make that determination for himself.

(1) "in the real world" always make me skeptical.

Then you need a reality check.

... Ctrl-A ..." It just sounds like you're used to Mac (or something else) keyboard shortcuts and dislike the defaults for whatever desktop environment you used.

It's Cmd-A on a mac to select all, ctrl-a to go to the beginning of the line. The latter is how desktop linux environments worked in the 1990s before everything went windows-wannabe. Ctrl-A to go to the beginning of the line is a standard unixism. Ctrl-A to select all is a Windowsism that linux desktops adopted to be more user friendly and get more market share to the detriment of established users. I get tired of dealing with this on PCs.

(2) seems particular to your work place. It's common within the development world for employers to install Linux as the default OS and offer support through their internal IT departments, many also offers other OSes like Mac. If you are embedded within a non-IT-specific company then things are likely different.

I have never been in any reasonably sized corporate org outside academia where anything went where linux was remotely supported as the default desktop. In my "real world," (10 years in the bay area and backwaters across multiple orgs, startups to enterprises) where accountability and compliance reign supreme, especially in publicly traded companies, IT provides systems with specific compliance requirements that the entire org has to follow. This isn't small potato shops, we deal with horrible things like SOC-2, GDPR, change management, documenting change evidence, and all sorts of nasty stuff to satisfy auditors and the security team.

My last job was you get a laptop with an always-on VPN with 2FA duo keys when you sign in and even the most advanced Linux users just said fuck it and developed on their virtualbox. Maybe that's a stepping stone for OP.

2

u/mkfifo Jul 10 '19

> I don't think I said or meant that. [...] that Linux or a unix workalike is far superior to Windows for development

Many of your comments were comparing Linux and Mac (emphasis mine)

> Linux is a bitch on the desktop, in the real world we use macbooks [...] Unixish development environment that Linux should be but often isn't [...] the fucking time for linux and its gimpy Windowsish desktops

None of those comments are mentioning "[...] that Linux or a unix workalike is far superior to Windows for development".

> Then you need a reality check.

This doesn't seem like a positive contribution to this conversation.

People often say "in the real world" to dismiss other people's opinions and assert that their own opinions are somehow more valid. Most people on here seem to work "in the real world" and yet their opinions seem to be quite diverse.

> It's Cmd-A on a mac to select all, ctrl-a to go to the beginning of the line. [...]

I completely agree that things either changing or being unfamiliar are annoying, but my point here was that a single shortcut changing or being different to expected isn't really a great criticism of an entire environment and seems like nitpicking - in the grand scheme of things shortcuts are reasonably easy to relearn or even change - and it doesn't actually help address the OP's question.

In fact since OP seems familiar with Windows and therefore its shortcuts, Linux desktop environments having "gimpy Windowsish desktops" would possibly be a positive aspect as it would require them learning less when compared to Mac.

> I have never been in any reasonably sized corporate org outside academia where anything went where linux was remotely supported as the default desktop [...]

I tried to draw a distinction between 'development world' and the more general corporate world. I have worked in a corporate environment where Windows was the default, but this was not a development specific company - instead being general a business with development making up only a small part.

My two more recent jobs have both been for development specific organisations (development consultancy firm, then Google) and both offered Linux as the default developer setup with Mac and Win being alternatives also offered. Amazon is similar to Google, Apple and Windows are naturally the reverses.

The end of my comment made sure to include that 'employer support' is a huge part of OS choice, so we don't disagree there.

If the argument is just that one is more popular in industry, then surveys are likely to be more relevant here than our own personal experiences. The Stack Overflow surveys seem like a good place to start.

The 2018 survey for professional developer's primary desktop operating system:

Windows 49.4%, Mac 27.4%, and Linux 23%

https://insights.stackoverflow.com/survey/2018#development-environments-and-tools

The 2019 survey for professional developer's primary desktop operating system:

Windows 45.3%, Mac 29.2%, and Linux 25%

https://insights.stackoverflow.com/survey/2019#development-environments-and-tools

There are also earlier years covering 2013/2014/2015/2016 available at

https://insights.stackoverflow.com/survey/2016#technology-desktop-operating-system

Note that they break Windows down by version (e.g. 2018 has Win7 22.5%, Win 10 20.8%, Win 8 8.4%, ...).

These stats don't quite capture if these OS choices are by choice or forced upon them by corporate, we can gleam some element of this by considering the 'Most Loved, Dreaded, and Wanted platforms' stats

https://insights.stackoverflow.com/survey/2019#technology-_-most-loved-dreaded-and-wanted-platforms

Which shows 'loves' has Linux 83.1%, Mac 70.5%, and Windows 64.2%
and 'dreaded' has Windows 35.8%, Mac 29.5%, and Linux 16.9%

1

u/visvis Jul 08 '19

While the others are right that Linux allows advanced users to do more, is more open, is more convenient for low-level stuff, and is technologically generally more advanced, these aren't generally a big deal for application development. It depends most on what you are actually developing. If you're writing website front-ends, it doesn't matter a great deal (and Windows has the benefit of allowing you to test with IE/Edge). If you're writing ASP.NET, you probably want to use Windows because Visual Studio is lightyears ahead of MonoDevelop. In some other scenarios, Linux will be better.

IMO the main advantage of Linux is actually its powerful shell. You can get it in Windows as well, using Cygwin or Ubuntu on Win10. It's not as fast or well-integrated as on Linux, but it generally does its job reasonably well. With Ubuntu on Win10 you can even run native Linux binaries, including GUI.

1

u/andybmcc Jul 08 '19

It's not. You should be using the correct tool for the job. This is like asking if a screwdriver is superior to a hammer. It all depends on what you're doing with it.

If you're around younger people, it's likely that they think GNU/Linux is some kind of cool esoteric thing that makes them better than everyone else. There are a few people like that in this thread.

1

u/[deleted] Jul 08 '19

The big selling point of Linux is that it feels like an operating system built for a developer. The command line is excellent. A ton of (development) tools are built for it. Package managers for managing installs and updates. It feels much more fluid to use.

I have done a good deal of development on both. I still game and do videos on Windows, but Linux is much more of a pleasure for me to develop on. The Windows command line feels clunky (maybe Powershell solves this?), the OS feels clunky (faster to grep / find on WSL than it is to do through Explorer), and digging through configuration prompts in Visual Studio is really rough.

1

u/Yithar Jul 08 '19

Because POSIX. I use a Mac at work and I would never go back to using Windows. That being said, I've heard good things about good Windows Subsystem for Linux.

In general, unix is just a really good development environment. On Mac, I just type `brew install x` if I need something whether it be `python` or `yarn` or `npm` or whatever. Homebrew is an amazing package manager for OS X.

> As for macOS, many programmers in the industry use MacBooks because the hardware is high quality and since about 2000 macOS has been POSIX compatible too. The point somebody made about windows having “training wheels” is just silly since 90% of professional programmers I know are using macs and plenty of people make the same claims about macOS.

1

u/ZenDragon Jul 08 '19

The number one thing that serious geeks want from technology is to be in control of it, and not the other way around. Linux facilitates that and Windows doesn't.

0

u/bartturner Jul 08 '19 edited Jul 08 '19

This is a little dated but here is an explanation by an actual Windows Kernel developer on the efficiency difference.

""I Contribute to the Windows Kernel. We Are Slower Than Other Operating Systems. Here Is Why.""

http://blog.zorinaq.com/i-contribute-to-the-windows-kernel-we-are-slower-than-other-oper/

But for me ultimately the cloud is run on GNU/Linux so having the same on my laptop is ideal.

I had not used Windows for development for over a decade and switched to using a Mac Book Pro about 10 years ago. There just is not a lot of Windows native development being done any longer. A lot moved to using web technology or using things like Electron.

But I recently replaced the Mac Book Pro with a Pixel Book for development. MacOS is Unix based but not the same as GNU/Linux. Plus I could never get Docker to run very well on my MBP. Tried both techniques.

I have also switched to using Flutter for mobile development. Do still have to turn on the MBP for signing.

Just have not had a reason to use Windows for development for a long time now. Hard to imagine it coming back.

Maybe a better question. Why would you use Windows for development? Are you doing Windows native code development?

1

u/kintar1900 Jul 08 '19

What language and IDE (if any) are you using on your pixel? I've been thinking about how nice a Chromebook would be for development, but don't want to give up my IDEs (Rider/IntelliJ).

1

u/bartturner Jul 08 '19

I have been using VSCode for Flutter development mostly.

Also use Android Studio.

Not sure why you think you have to give up your IDE?

1

u/kintar1900 Jul 08 '19

How do you run them on a Chromebook?

1

u/bartturner Jul 08 '19 edited Jul 08 '19

Nothing could be easier. Here are the exact steps.

  1. Buy a Chromebook that supports Crostini

https://www.reddit.com/r/Crostini/wiki/getstarted/crostini-enabled-devices

2) Log into your Google account

3) Go into admin and turn on GNU/Linux.

4) Open Chrome browser on ChrromeOS.

5) Click

https://update.code.visualstudio.com/1.36.0/linux-deb-x64/stable

6) This will put the file in downloads.

7) Click the .deb and there you go. Do the same for Android Studio.

https://developer.android.com/studio/install

right click the .deb

For any other GNU/Linux you can use

https://packages.debian.org/stretch/

Chromebooks are the easiest way to get started with GNU/Linux. But I have been using GNU/Linux since .95 which is pre X-Windows. I replaced by MBP with a Pixel Book for development and could not be happier. Love how Google has implemented GNU/Linux.

Since ChromeOS is Linux based you have all the drivers and lower level you need and gets updated and secure. Then Google has GNU/Linux use VirtIO to tap into the layer below. But is running a second Linux kernel to keep the incredible security you get with ChromeOS.

0

u/[deleted] Jul 08 '19

[deleted]

1

u/[deleted] Jul 08 '19

You can gain full access to your Windows machine as well, just like you can with Unix. It just takes the knowledge of knowing which switches to flip.