TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Would you use (or recommend) Windows as a developer laptop?

6 点作者 kapad9 个月前
Ask HN: Would you use (or recommend) Windows as a developer laptop?<p>There have been a number of new features added to Windows over the past few years that make it a more developer friendly operating system. (WSL2, improved developer tooling, package managers, etc)<p>That being said, mac is still the answer I get most often when asking this question. (And I almost never get Linux as an answer).<p>Imagine, someone new to professional programming, or someone that&#x27;s looking to learn, also needs to buy a new laptop (for a totally unrelated reason), and asks you for a recommendation based on their need to use the laptop for programming&#x2F;development.<p>What would you answer? And WHY?<p>PS: Yes, mac software can only be developed on a Mac (and Windows needed windows, but that may be changing with Parallels on Mac, or other virtualization software). Please consider any generic web project for this question. (eg: a Node.JS webapp).

16 条评论

pavel_lishin9 个月前
If someone is new to programming, I would recommend using the operating system they&#x27;re already familiar with.<p>Switching from Windows to OS X felt like stumbling around a pitch-black room full of shin-height coffee tables &amp; spilled legos, and now that I&#x27;ve been a Mac user for over a decade, using a Windows machine feels the same way.<p>There&#x27;s no reason to inflict that sort of pain on someone who&#x27;s <i>already</i> going to be learning a difficult new skill.
Mc919 个月前
I default to Linux when I can. I have a System76 laptop (running Ubuntu, not PopOS).<p>My current company gives us a MBP or Windows laptop, my team gets MBPs, Linux is not an option. My preference if asked would have been Linux then MBP then Windows.<p>If Linux were not an option, MBP would be my next choice, since terminal brings me to a Unix shell, and there are things like homebrew etc.<p>I use my Linux machine for everything. I have an MBP, but I only break it out when I need to do a Zoom call or something like that - you can do it on Linux but I don&#x27;t want to do the rigmarole of it. I also use it if I know someone has a Mac and I&#x27;m trying to debug something on their machine over the phone. Otherwise Linux for everything.
lucasoshiro9 个月前
&gt; That being said, mac is still the answer I get most often when asking this question. (And I almost never get Linux as an answer).<p>This is strange. Most developers that I know use Linux...<p>I use both Linux and Mac, and even though I like Mac OS, I can&#x27;t see what it can add to a developer that Linux don&#x27;t have <i>except</i> if you want to develop for the Apple platforms.<p>I really like Mac OS for other reasons not related to development. But for development it does nothing more for you that Linux already does, while Linux does a lot more that Mac doesn&#x27;t.<p>&gt; What would you answer? And WHY?<p>I used Windows 11 recently, I can&#x27;t say that it was a bad experience, except for the fact that it uses a lot of computer resources for doing the same that my Linux PC from 2012 does. And I felt very limited after using Linux for more than a decade. I even feel more free in Mac, as it is also a Unix-like OS. WSL does a good job, but I don&#x27;t know why I would restrict everything that I have in Linux to just a terminal that I would still run over Windows...<p>If you don&#x27;t care about paying a little more for having a Windows laptop and you somehow want Windows for something (maybe games, office or something that really needs Windows) I would suggest to buy it and install Linux in dual-boot, so you can have the best of both worlds.
deafpolygon9 个月前
&gt; someone new to professional programming, or someone that&#x27;s looking to learn, also needs to buy a new laptop (for a totally unrelated reason), and asks you for a recommendation based on their need to use the laptop for programming&#x2F;development.<p>Short answer: Whatever platform you&#x27;re already comfortable with.<p>Longer answer: It depends on the software you wish to develop. Most of the time, it hardly matters unless you&#x27;re targeting a specific platform that have hardware restrictions. I can develop on Linux&#x2F;macOS&#x2F;Windows all equally terribly (I&#x27;m not a great developer) - I haven&#x27;t really found the OS to be the bottleneck.<p>Web development? Any platform you&#x27;re comfortable with. Most tools are cross-platform, and docker&#x2F;containerization is a solved problem.<p>Mac&#x2F;iOS software? Apple hardware is ideal for this (not because of the hardware, but that&#x27;s the only place you get _supported_ by Apple on).<p>dotnet? Anywhere. But _better_ on Windows these days.<p>Android? Anywhere. Just bring plenty of RAM.
Bostonian9 个月前
I create internal software in Python, and the boss likes results in an Excel spreadsheet, which I create from Python pandas dataframes. Much of my work has been translating business logic in Excel spreadsheets to Python. So for me Windows is a natural choice.
评论 #41401577 未加载
aristofun9 个月前
Only if you develop _for_ windows.<p>In any other scenario - this is the worst devX that can be.<p>If your laptop is supposed to be a professional tool, it shouldn&#x27;t piss you off every 30 min and waste your time and nerves on working around stupid problems and poor design decisions.
samier-trellis9 个月前
Yes, Windows with WSL2 is a perfectly good development machine. I use a Mac for work, Windows for personal. I prefer the Mac, but I&#x27;m not sure it&#x27;s worth a price difference of over $1k between a Mac and Windows with comparable specs.
zzo38computer9 个月前
It would depend on other stuff. If you want to write software specifically for Windows (although not necessarily limited to Windows; you can use WSL to use and write Linux software too), or if you intend to use software that is only available on Windows (although note that some Windows software can run without Windows, e.g. by the use of Wine, so using Windows software does not necessarily mean you will have to use Windows), or if you particularly like Windows compared with other systems, then yes. Otherwise, I would say no, it would be better to not use Windows.
PaulHoule9 个月前
It&#x27;s what I do. You get more for your dollar with a Windows machine than a Mac. Historically I felt Linux distributions had problems with the fit and finish of the UI but in the last few years I feel better about Linux.
giantg29 个月前
The reason you get Mac as and answer is because those users are the most vocal.<p>There are some things Mac might be better for, like a UX dev. But the vast majority of companies issue Windows to their devs.
评论 #41406699 未加载
marssaxman9 个月前
I have not used anything but Linux for years. From what I see and hear about modern Windows, I don&#x27;t know how people can stand it - but many clearly do.
ssahoo9 个月前
Unless you build dotnet apps or apps specifically for Windows I won&#x27;t use Windows for a laptop mainly due to its poor power management reasons.
评论 #41401921 未加载
yawpitch9 个月前
You’re talking about web development; the computer doesn’t matter at all, neither does the OS… get a very cheap used laptop and install NetBSD or any LTS version of Linux. Seriously, a decent keyboard you can type on is the only thing that matters.<p>Now, if your employer is paying for the damned thing, go for a Mac or, if you’re a confirmed masochist, Windows.
runjake9 个月前
You can do web development on any of the 3 main computing platforms. Pick the OS that best fits you.<p>For me, that&#x27;s macOS most of the time, and Linux some of the time.<p>Linux would <i>technically</i> be the &quot;best&quot; platform, as that&#x27;s what you&#x27;re presumably running on the web server. If you&#x27;re interested in pursuing the Linux desktop, you might want to read DHH&#x27;s blog[1] as he journeys his transition from macOS to Linux. He&#x27;s even written some opinionated software, dubbed Omakub[2], to customize the experience. Omakub isn&#x27;t my kind of thing, but it&#x27;s still neat and may interest you.<p>Windows would be my last choice, but that&#x27;s personal preference. Some might argue that with WSL and Docker that Windows might be a better solution than macOS for web development, but I&#x27;ll <i>take my chances</i>.<p>I rarely run into others who use Linux as a web development desktop. But, practically everyone uses Linux as a development target (IOW, as the serving platform).<p>1. <a href="https:&#x2F;&#x2F;world.hey.com&#x2F;dhh&#x2F;" rel="nofollow">https:&#x2F;&#x2F;world.hey.com&#x2F;dhh&#x2F;</a><p>2. <a href="https:&#x2F;&#x2F;omakub.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;omakub.org&#x2F;</a>
brudgers9 个月前
If someone is most familiar with Windows <i>and</i> new to programming, being new to programming will give them more than enough problems. Throwing Linux into the mix will just add friction.<p>Later, if programming sticks they might have enough information to decide learning Linux makes sense. It is ok for a programmer to switch among OS’s.<p>Good luck.
solardev9 个月前
As a web dev: Mac. 1000%.<p>It can easily do the Unix-y things that you need to as a dev (Windows can too, it just takes a few more steps because it&#x27;s not natively Unix-y.)<p>But, importantly, it can also seamlessly use the apps that you need to use with your non-dev teammates, like opening your designers&#x27; files (if you need to manipulate a SVG in Illustrator, let&#x27;s say) or running whatever corporate software they use (Microsoft Office, Zoom&#x2F;Teams&#x2F;etc.) There are always workarounds on Linux machines, but why waste time on them when most things don&#x27;t need workarounds on a Mac or Windows machine.<p>Lastly, the overwhelming majority of other web devs you&#x27;ll likely meet will also be on Macs, and will only want to troubleshoot issues you might have on a Mac, and your issues on a Mac will get fixed way quicker than whatever obscure Linux flavor of the day might be. I haven&#x27;t met a web dev not on a Mac for more than a decade now. (Firmware engineers, EEs, etc., sure, but not web devs). It&#x27;s kinda a feedback loop... web devs love Macs because they&#x27;re so good now, but then more web devs start to use Macs just because everyone else is too, and soon it&#x27;s just the de facto standard for this work.<p>The Apple Silicon machines in particular are really, REALLY, REALLY good in terms of performance vs power consumption (meaning long battery life, low heat, low&#x2F;no noise). And there are no shitty ads like there are everywhere in Windows.<p>When they first came out, there was some compatibility issues between the ARM builds on our dev machines and the x86 builds normally found on the cloud Linux servers, but most of that got sorted out within the first few years and hasn&#x27;t been an issue for a while now.<p>And as much as I sound like a Mac fanboy, I grew up with MS-DOS, started using the Web on Windows 3.1, and developed on Windows for 20+ years before my first Mac, going through a variety of ThinkPads and Dell business machines. I also work with Linux VMs every day for work, but the desktop distros are just so unpolished compared to either Mac or Windows and the drivers are an eternal hassle. Apple did a really, really good job with the M-series and there is really no better choice today. Nothing else on the market even comes close. Intel is way, way behind right now.<p>I don&#x27;t particularly like MacOS (I prefer Windows 7, so sad, too bad), but the Mac hardware is just so much better than the crap disposable PC laptops these days. Even the similarly priced ThinkPads significantly pale in build quality and performance&#x2F;watt. PC still has the edge in some raw horsepower scenarios, but as a web dev you&#x27;ll never need that. Being able to work on battery for a full day and never hearing the fan come on, though, while still not waiting more than a few seconds for any npm install? That&#x27;s really nice.