Best OS for programming? Mac vs Windows vs Linux debate settled

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Mac windows or Linux that's the single biggest Choice you'll ever make if you decide to become a programmer not only will you spend tens of thousands of hours with your OS but it also has a profound impact on your subconscious by clicking I agree to the terms and conditions you are now forever a part of the windows Collective hive mind when you unbox that Sleek new Macbook you unknowingly just join the cult of apple and the only way to break these proprietary shackles is to compile the Linux kernel from scratch to call yourself an open source freedom fighter who will be your supreme leader jobs dates or tour vaals in today's video we'll look at the differences between Mac windows and Linux from the perspective of a software engineer for more than a decade I've enjoyed the Pleasure and Pain of all three of these operating systems and have realized that FreeBSD is superior to all of them but I don't want that secret to get out in many years ago when I got my first real job I was assigned a Windows machine and got introduced to beautiful Technologies like Java and Oracle database from my cubicle I use these tools to build crappy websites for a failing Fortune 500 company it sucked but luck through divine intervention I was fired from that job and started doing remote work full-time with my brand new Macbook Pro this bad boy had a dual core CPU and a full gigabyte of ram I traveled around the country from Starbucks to Starbucks drinking so lattes while developing Ruby on Rails applications on my MacBook but eventually I realized that the real hardcore developers were using Linux as fate would have it my MacBook Pro stopped working right on schedule exactly 2 years after I bought it so that's when I built my first PC from scratch and installed Ubuntu around this time Richard stallman called at spyware so I experimented with a bunch of other dros but have mostly stuck with Debian what I'm referring to as Linux is in fact G new Linux or is I've recently taken to calling it G Plus Linux the ganu plus Linux system Linux is not an operating system unto itself but rather another free component of a fully functioning gnu system made useful by the ganu cor Libs shell utilities and vital system components comprising a full OS as defined by posix what I've learned over the years is that there's no perfect OS like today I use windows but use the windows subsystem for Linux for development and always keep a MacBook Pro along with my ski goggles available for traveling now when using three different operating systems it's important to have an IDE that runs on all of them and there's nothing better than Jeet brains idees the sponsor of today's video their legendary family of integrated development environments are used by millions of developers every day and famous for their sophisticated code completion and integrated tooling as a web developer I'm a big fan of webstorm which contains everything you'll need for the craziness of JavaScript development but can Now understand and write code even faster thanks to the AI assistant it's a programming optimized model that can offer suggestions describe your code and write your code while understanding the context of a large project but most importantly the IDE is reliable and fun to use it's got an intuitive minimal interface but tons of power under the hood so you don't need to install a bunch of plugins to start being productive and best of all you can try out Jeet brain's idees for your favorite programming language with a 30-day free trial use the link in the description deson but now let's talk about the pros and cons of developing on a Macintosh Apple by far makes the best hardware but to obtain it you must pay a large tribute like $1,000 just for a stand in addition another major drawback is that you can't upgrade these machines if you want to add more RAM storage or gpus the upgrade options are extremely limited on top of that that ecosystem is designed to lock you in if you want to build apps for iOS or the Apple Vision Pro you'll almost certainly need to own a Mac and if your Hardware ever breaks you'll find that the components are glued or soldered into place which means it's impossible to repair without going to the Apple Store and there's been a lot of controversy around the right to repair but nobody really wants to repair their old MacBook by the time it breaks there's going to be some awesome new thing that you'll just have to buy but more important than the hardware is the software and one thing that's really nice about Mac OS is that it's Unix based Unix has been around since the 70s and has a really nice file system design that uses forward slashes and Mac comes with a bunch of good developer tools out of the box like Zell git vim and so on in addition you can use package managers like Homebrew to easily install and manage different development tools the terminal experience on a Mac is nice and tools in the guey look really nice although they can be pretty annoying to use I'm looking at youf finder but most importantly everything works out of the box with zero configuration Mac OS prevents you from going down customization rabbit holes spending days configuring Pointless Stuff on your machine instead of writing code that's actually useful but if you want to get really good at computers you'll need to learn Linux on the server Linux is King the vast majority of servers running in the cloud powering the world's infrastructure run Linux and that's because it's free open- source and reliable however very few normies actually use it for their personal computers why is that it has to do with complexity to use Linux you first need to choose a family like Debian Arch red hat genu and many others then you have to choose a Dro in that family like under Red Hat you've got Enterprise Linux vedora sentos Rocky Linux and many others then you'll have to choose a desktop environment like gnome KDE and so on then finally you'll need to open up the terminal type in a bunch of commands to resolve dependencies compile things from Source update file permissions then a few weeks later you should be good to go some dros are designed to be extremely userfriendly like the Debian based Linux Mint but if you really want to be an apex Alpha programmer you'll likely want to go with something in the arch family allowing you to legally say I use Arch by the way not only is Linux free but it offers you the most flexibility for customizing your machine and in turn you're likely to learn a lot more about how computers actually work when you use it and if you really want to get into something like penetration it drrs like Cal Linux are highly optimized for that activity in addition if you're deploying applications on Linux servers you'll be much more familiar with the Linux ecosystem when you use it every day and there's all kinds of amazing developer tools you can use on Linux that may have a higher learning curve initially but can dramatically improve your productivity but there are quite a few drawbacks the support for commercial software like Adobe products and a large number of games and drivers for Hardware is just nonexistent Linux only has a single-digit market share of personal computers and many developers just choose to ignore it all together but Linux is not the only open source kernel if you're really Brave you can use other kernels like open BSD Minix or redo but then you'll really be on your own and ultimately when you have to configure a lot of things by hand it makes the entire system more brittle which means you'll eventually break something stupid and end up spending two days debugging your bash profile which is one of the leading causes of a neck beard Linux can be painful at times but you need that pain to grow you don't know real pain though until you've tried to develop on windows at first you're going to need to charge your mom's credit card $199 for Windows Pro then when you install it it's going to try and sell you a bunch of crapware like Microsoft Office and one drive even if you decline you'll still need to log into a Microsoft account is so it can spy on you in perpetuity in order to resell you that same crapware every day for the rest of your life when you boot it up you'll find artificial intelligence everywhere you'll need a co-pilot just to manage all your co-pilots now if you're coming from Unix you'll notice some weird things like it uses backs slashes for file paths and every day or two the system will shut down an update to make sure you have the latest spyware installed when it comes to open source software Dev velopment Microsoft has some skeletons in the closet in the 9s it had a strategy to embrace Open Standards extend them in incompatible ways in order to extinguish them later on and Balmer once called Linux a cancer how much do you think this Advanced operating environment is worth but nowadays things are different even though I hate Microsoft I use Microsoft VSS code to write my Microsoft typescript code then push it to Microsoft GitHub and install my Microsoft mpm packages then deploy it to Microsoft Azure from my Microsoft Windows machine at some point Microsoft realized the way to win over developers was to become less like Windows and more like Linux and the killer feature for that is the windows subsystem for Linux which allows you to run a full Linux drro inside of Windows not just an emulated one which gives you the best of both worlds you can use all your favorite Linux terminal apps and even run Linux guy apps like VLC and in the past I used to dual boot Windows and Linux but WSL has made that unnecessary it's not perfect and there are some random issues that come up and WSL can be painfully slow at times but it's a pretty awesome feature overall and one huge benefit of Windows over Mac OS is that it's not kept in a Walled Garden Windows is proprietary but it can be installed on any hardware which means you can easily upgrade your RAM CPU GPU Etc but now that brings us to the final question which tribe should you join well I've created a handy flow chart to help you choose the first question is are you rich if you answered yes then the answer is pretty easy Mac OS but if you answered no the next question is do you have a girlfriend Andor a life if you answered yes then Windows is the optimal choice then your final question should be do I want an operating system that's designed by God himself if you answered no then Linux is your best choice but if you answered yes then the obvious choice would be Temple OS
Info
Channel: Fireship
Views: 1,027,584
Rating: undefined out of 5
Keywords: webdev, app development, lesson, tutorial
Id: AdygBbbEnco
Channel Id: undefined
Length: 8min 40sec (520 seconds)
Published: Fri May 10 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.