this post was submitted on 20 Nov 2023
497 points (86.4% liked)

linuxmemes

21454 readers
1776 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] aidan 19 points 1 year ago* (last edited 1 year ago) (5 children)

    Genuine question, how is MacOS better for coders? I think those that do usually choose it because they're used to it or their company offered either a bulky ThinkPad or a Mac and they wanted something thin and light.

    Everytime I see tutorials for setting up or building something there will be a simple Linux install command, downloading a zip for windows (or if you're lucky you can find it on Choco), and then there will be the multiparagraph homebrew setup.

    [–] thehatfox 14 points 1 year ago

    macOS offers a lot of stability, it's reliable, predictable, boring even. It works out of the box and stays that way, it survives upgrades, and rarely crashes.

    The release cycle is steady, and changes are generally gradual and incremental. Mac users don't usually have to worry about a new release breaking their system or their workflow because a developer wants to reinvent the wheel or a UI designer wants to make their mark. The only big shifts have been processor transitions.

    The Mac ecosystem also allows users to have a foot in both the proprietary and open source ecosystems on a single platform. Being able to run, say, web development environments and Adobe CS for example, can be a lot easier than farting around with Wine or WSL.

    Granted, there's plenty of downsides to the Mac as well, but the platform definitely has merits.

    [–] custard_swollower 14 points 1 year ago (1 children)

    Macs are pretty solid for coding. You don't need to tinker with them, most of the time stuff just works. On the other hand, I spent lots of time to make sure stuff just works well on my Dell or ThinkPad with Ubuntu or pop.

    For software, I've found that some software doesn't give you much help if you get into problems on Linux.

    And there is always something with Linux that doesn't work for me. Like my Dell laptop with pop!os doesn't charge over usb-C from Dell monitor (it worked on windows). Touchscreen doesn't always work after waking up. I had ThinkPad with awful fan control on linux and hibernation issues. I had issues with scaling with external screens.

    [–] adrian783 5 points 1 year ago

    yeah it's mostly because of the official support that reduces a lot of faffing about. I don't wanna be a nix guru I just want to search stackoveflow and paste in commands when I have issues.

    [–] Pipoca 9 points 1 year ago (2 children)

    I don't really think it's better. They're fine for coding.

    They're basically the corporate default because they're easier for companies to buy and remotely administer, they've got good VPN software, good resale value, etc.

    [–] franklin 3 points 1 year ago

    Exactly this. I was about to answer the question and realize you pretty much already had. Thanks very much.

    [–] [email protected] 1 points 1 year ago

    They're significantly better than windows, and you could make an argument on the stability front compared to Linux

    [–] jadedwench 6 points 1 year ago

    I code daily on mine, by choice. I also have no issue coding on Linux and will happily spend all day in a CLI. Homebrew is just as easy as using apt or what have you, at least in my personal experience.

    It isn't always perfect.There was a bit of head scratching over shared libraries one time, until I figured out what stupidity I had to do to make Apple happy, but that is the only notable thing I can remember.

    However, coding on Windows can be super painful depending on the language, especially with all of the backwards paths. The only coding work I enjoy doing on Windows is C#. Worst case WSL2 is around when I need some sanity.

    No matter what, I have any of them available to me and the battery life on a MacBook Air is amazing. The corporate laptop is actually a decent machine and the size and weight is pretty good, especially considering the monstrous bricks the previous models were. Mobile workstation woes I guess. The most amusing part is AutoCAD 2024 running smoothly on the Mac. I never knew it could be that snappy.

    [–] BURN 2 points 1 year ago (1 children)

    Windows is a nightmare for development. Linux is generally not an option, so a UNIX based system is still easier than windows

    [–] aidan 0 points 1 year ago (2 children)

    For C++/C I used to agree, but now with WSL it's easy.

    [–] BURN 3 points 1 year ago (1 children)

    My problems come with Java (versioning is a pain), JavaScript, Node, etc

    C/C++ is probably the second easiest after C#

    [–] aidan 2 points 1 year ago (1 children)

    Node really? nvm makes it very easy, or using choco

    [–] BURN 1 points 1 year ago (1 children)

    Despite trying at least 6 times, I’ve never been able to successfully start a node project on windows. No such problems on Linux or Mac.

    I tend to do my dev work at home with an Ubuntu server VM and ssh into it from my windows desktop now. Find that it’s the best of both worlds.

    [–] aidan 1 points 1 year ago (1 children)

    Despite trying at least 6 times, I’ve never been able to successfully start a node project on windows.

    Huh fair, for me that's cmake projects on Windows.

    with an Ubuntu server VM and ssh into it from my windows desktop now.

    That's just WSL 💀

    [–] BURN 1 points 1 year ago

    WSL wasn’t a thing when I started with that, and it still doesn’t do everything I want it to, so I much prefer to not use WSL at all and instead manually manage the VM.

    There’s nothing wrong with the WSL approach, it’s just not one I like

    [–] [email protected] 2 points 1 year ago (1 children)

    Ah yes, I love WSL deciding to consume 12 of my 16gb of memory

    [–] aidan 2 points 1 year ago

    That's a fair complaint