this post was submitted on 31 Aug 2023
202 points (91.4% liked)

Programming

17398 readers
102 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

And you, what's your operating system to code ? Me, I use Arch btw

top 50 comments
sorted by: hot top controversial new old
[–] awesome_person@lemm.ee 51 points 1 year ago (1 children)

All three main desktop operating systems suck for very different reasons

[–] andrew@lemmy.stuart.fun 14 points 1 year ago

I take it you run TempleOS?

[–] MalReynolds 33 points 1 year ago (2 children)

As a linux dev, this conspicuously misses mentioning Visual Studio.

[–] myersguy@lemmy.simpl.website 33 points 1 year ago (1 children)

True, but he mentions .NET development is Windows first, and even mentions that you have "some IDE's that work with it, like Rider". He kind of said it without mentioning the specific IDE.

Rider is the real MVP anyways.

[–] AbsolutelyNotCats@lemdro.id 11 points 1 year ago

Jetbrains ftw

[–] hellishharlot@programming.dev 7 points 1 year ago (1 children)

My company and literally every company I've worked for somehow has been deeply afraid of leaving .NET framework for .NET core or .NET 6, 7, or 8.

I just want to get away from needing Windows to run my programs locally

load more comments (1 replies)
[–] koorool@feddit.de 21 points 1 year ago (2 children)

Most companies I worked with had a choice of the work laptop, usually Windows/Linux or MacBook. And the trick is, you cannot buy cheap MacBook. So the choice is using linux but with a terrible screen, unusable trackpad and bad hardware, or take MacBook and enjoy all premium.

So I always take MacBook and then ask for a local workstation where I will have linux with i3 / Sway WM.

[–] Dogeek@sh.itjust.works 10 points 1 year ago (4 children)

My company didn't leave me a choice, I got an XPS 15 which I had to setup with my distro of choice (but all the internal tooling is for Ubuntu, I personally would have preferred to install Fedora or Debian 12 with i3wm).

It's not that bad a laptop but it overheats like crazy and has really shit battery life (barely enough for a meeting), and some of its features I can't explain : why is a 4k touchscreen on a laptop a good thing? It eats 4x the battery for no noticeable visual improvement. I don't use my laptop 5 inches from my face.

[–] ebd6a8c9051028dc1607@lemmy.ml 3 points 1 year ago (2 children)

the point of 4k is that you can make ui smaller and show more things

load more comments (2 replies)
load more comments (3 replies)
[–] mrkite@programming.dev 5 points 1 year ago

I prefer a desktop. Don't have to worry about swelling batteries from being plugged in all day... plus they're cheaper so I get new computers far more often than my coworkers who get laptops.

[–] technom@programming.dev 19 points 1 year ago (4 children)

So many praises for Windows and Mac about 'premium features', 'corporate environment' and 'device support'. But not enough talk about how they treat customers like crap and cash cows. Windows is replete with spyware and ads. It doesn't respect the user's choices, like when not to do an update or opening the links with a browser of user's choice. Heck! Some versions don't even allow you to register users without a cloud account. And now they are taking definite steps towards ensuring that you can't do anything they don't approve - with TPM and pluton non-sense. Praising windows is like being in an abusive relationship and finding justifications for it.

Mac is on the other extreme. They lock down their platform more and more in every revision in the name of security. It's getting harder to side-load apps. Why? For security, of course! No mention of how security comes primarily from platform design. Then there is the hardware, where everything is glued, soldered, riveted, digitally locked, etc, etc. Any small issue, and it's garbage. Not even parts from another genuine Mac can be used. Macs also have the strange distinction of needing calibration and signing of any part that can be replaced at all. It's deliberately designed to extract more money from you and create a tonne load of e-waste (iWaste?). Mac fanbois have a habit of justifying it in the name of 'miniaturization' and progress. Honestly, that's just hand-wavy and completely wrong technical argument. And Apple says it is all for 'privacy' and 'security' while their actual reason is the pursuit of double-digit growth (not just profits). So, in effect, Apple is saying to their customers "Oh honey! You're are just too stupid to take care of it. So let me just decide for you" - all the while squeezing you for money. Does it end there? Oh no! They need developers to pay a yearly fee and want to take a huge cut from their profits. All that for "providing the engineering, platform and services". As if the exorbitant price they extract from their customers isn't enough.

The hardware situation on Linux distros and frankly even BSDs isn't as bad as it is projected by some. Most devices just work even on a live installation medium. Even Nvidia works. (Have you considered the possibility that if any device doesn't work, it's the manufacturer's fault and not the OS's? There are plenty of devices for which the community maintains the drivers, just because the device manufacturer isn't an utter trashbag). There are tonnes of games too - thanks to Valve and Proton. And as for the 'corporate env', you are probably just locked in or too used to them. There are users who have been on these platforms for decades now without complaints. And there are companies built entirely on them. Can you say the same about any of the company that makes your OS/devices? Is there one among them that doesn't use Linux or BSDs?

Look! I'm not claiming that everything is rosy on the Linux and BSD side of things. Sometimes you have to find an alternative way of doing things (there are plenty of options). Sometimes, you have to configure a lot. Sometimes, you have to carefully choose your hardware so that your life is easier with Linux and BSDs. But there is one thing they don't ask you to do- and that is to surrender your self-respect. You don't get treated like cash cow. You don't get spied on as if you are a thief. You don't get restricted like a school kid. You're not told that your choices are wrong. Your choices are not disrespected. You don't get treated like you owe them after you paid your hard earned money on the devices they make. Ultimately, it's up to you to decide if the little conveniences are bigger than your self-respect.

load more comments (3 replies)
[–] huginn@feddit.it 19 points 1 year ago (6 children)

I wish the company I worked for would let us use Linux. Mac dev only. :(

[–] kuresov@lemmy.ml 29 points 1 year ago (5 children)

Better than Windows at least

[–] mrkite@programming.dev 17 points 1 year ago (2 children)

Nah these days with wsl, I prefer windows over Mac. At least you get packages that have been updated in the past decade.

[–] NotSteve_@lemmy.ca 9 points 1 year ago (3 children)

What packages are you missing? With brew you can get most things

load more comments (3 replies)
load more comments (1 replies)
[–] words_number@programming.dev 8 points 1 year ago* (last edited 1 year ago) (2 children)

I care about freedom. In that regard, mac is easily the worst of the three. Also, it kinda combines the downsides of both:

  1. Being proprietary crap that tries to force you into using it a specific way and does shit in the background nobody ever asked for
  2. Not being compatible with some proprietary soft- or hardware

I hate windows with a passion but would take it anytime if mac would be the only other option.

[–] GBU_28@lemm.ee 5 points 1 year ago (1 children)

Every windows machine a job has given me has been a hunk of garbage. At least Mac hardware has a floor of quality. Not perfect by any means, but at least the battery lasts and there's basic horsepower.

Also every windows machine has been with a fossilized company that has tons of IT bloat with tons of spyware authentication shit on it. Hell I had to file (and fight for) wsl privileges on my current windows machine

The Macs I've gotten have been brand new, straight from the manufacturer.

I'm sure that's just luck of the draw but yeah fuck windows shops hah

load more comments (1 replies)
load more comments (1 replies)
[–] Aasikki@sopuli.xyz 7 points 1 year ago (1 children)

Hell nah. Personally, mac os is the most frustrating of the bunch to use.

[–] WestwardWind@lemm.ee 6 points 1 year ago (4 children)

I switched over to MacOs about 3 months ago now for dev work and I've really been enjoying it so far. Except when there are weird hiccups, but they've been getting better as I get more familiar with it

[–] Aasikki@sopuli.xyz 3 points 1 year ago

Each to their own! I'm not a dev, but I have to use a mac at work for video editing, and what frustrates me, is the clunky window management and that some keyboard shortcuts (like copying and pasting) make me have to twist my hand in quite unnatural positions, at least on the apple's own keyboard.

load more comments (3 replies)
[–] sederx@programming.dev 3 points 1 year ago

i used to have this opinion, i dont after having to use a mac for a few months. id take windows+wsl any day.

load more comments (1 replies)
load more comments (5 replies)
[–] ggnoredo@lemm.ee 19 points 1 year ago

I wont work for a single day without linux

[–] Espi@lemmy.world 19 points 1 year ago (5 children)

Nowadays with WSL Windows is pretty good. Pretty much anything you can do on Linux you can do on Windows.

Now, not being worse is not really a point towards Windows. For developers its absolutely not worth it tanking the horrible storage performance, preinstalled ads and handing your soul to Microsoft for the privilege of not being worse than native Linux.

[–] eric@lemmy.ca 4 points 1 year ago

I'm forced to use Windows at work. WSL takes since of the sting out of it

load more comments (4 replies)
[–] kibiz0r@midwest.social 9 points 1 year ago (2 children)

macOS all the way.

All the comfort of a UNIX FOSS env, all the premium features of a corpo env.

load more comments (2 replies)
[–] spez@sh.itjust.works 9 points 1 year ago* (last edited 1 year ago)

I moved so Microsoft doesn't spy on literally everything I do. For programming it does seem to be easy to discover new things when you are part of different linux circles.

[–] Aux@lemmy.world 8 points 1 year ago (3 children)

Windows here. And WSL. Best UI and hardware compatibility with all UNIX tools I might ever need. As a bonus I can also play games and use industrial apps for my hobbies.

[–] gamer@lemm.ee 11 points 1 year ago (1 children)

Linux time.

Best UI

KDE’s UI is better, even if you don’t take the lack of ads into account.

hardware compatibility

What hardware do you use that isn’t compatible with Linux? The only time I had a problem with that was when I was sold a bootleg PS4 controller on ebay once, and it didn’t work via USB (official controllers do work tho). Connecting via Bluetooth fixed it.

I can also play games

Same.

industrial apps

…like forklift firmware?

[–] Aux@lemmy.world 5 points 1 year ago (12 children)

KDE’s UI is better

KDE was good many moons ago, sadly today it's just a useless mess.

What hardware do you use that isn’t compatible with Linux?

Printers, NVIDIA GPUs, latest Intel CPUs, WiFi, Bluetooth, DRM protected stuff, etc.

…like forklift firmware?

Apps ranging from Photoshop to Fusion 360, from TI and Evolv board firmware flashers to Chinese device apps, all kinds of CNC controllers, etc. If your hobby requires an app and it's not a software development related hobby then there's a 99% chance that it won't work on Linux. And even if there's a Linux version of the app, it might lack critical features, like DaVinci Resolve which lacks audio and video codecs on Linux.

The sad truth is that Windows today is the best Linux distro out there for desktop use. And if you can get your hands on an enterprise licence then you won't have any limitations or ads or whatnot.

load more comments (12 replies)
load more comments (2 replies)
[–] UFODivebomb@programming.dev 8 points 1 year ago (1 children)

NixOS is the ultimate dev distro... For backend development anyways.

[–] a_fancy_kiwi@lemmy.world 5 points 1 year ago (2 children)

I’ve been interested in Nix for a while but haven’t devoted any time to it. What do you like about it? What problems does it solve? Why learn the Nix way of doing things when I could make a container using LXD and just transfer the container around?

load more comments (2 replies)
[–] ozoned@beehaw.org 7 points 1 year ago (1 children)

The Linux Experiment is also on the Fediverse.

Mastodon: https://tilvids.com/accounts/thelinuxexperiment

TILVids (Peertube instance): https://tilvids.com/w/995NqXZXXshptUnwZNcbKi

load more comments (1 replies)
[–] bdesk@kbin.social 6 points 1 year ago

In this article: why we should wear crocs while drinking water.

[–] wave_walnut@programming.dev 6 points 1 year ago

Thankful to communities, building dev env on Linux is easier than that on Windows.

[–] onlinepersona@programming.dev 4 points 1 year ago

Once nix supports mac and windows equally well, maybe those platforms can be considered equivalent, but until then linux FTW.

[–] ZILtoid1991@kbin.social 3 points 1 year ago (5 children)

Is there any GUI for either GDB or LLDB? Most cases, I don't think "writing macros to do complicated things" is a path walkable for me, especially as I mostly want to do simple things.

[–] Sonotsugipaa@lemmy.dbzer0.com 5 points 1 year ago

VS Code (as well as Codium) uses gdb for debugging

[–] colonial@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Visual Studio Code (and its free as in freedom variants like Codium) has the CodeLLDB extension. I'm unsure if something similar exists for GDB.

And if you're using Jetbrains, most (all?) of their products have a suitable GUI debugger baked in.

load more comments (3 replies)
[–] lolcatnip@reddthat.com 3 points 1 year ago

Unfortunately I have to use Windows for work, and it hurts my soul.

[–] colonial@lemmy.world 3 points 1 year ago (4 children)

Fedora Silverblue is very nice for development work. You can have separate toolbox containers for each toolchain and not worry about it messing with the host OS.

(Unless I'm working with Python. Then it'll find some way to install shit deep in ~/.local or whatever.)

load more comments (4 replies)
load more comments
view more: next ›