this post was submitted on 16 Jun 2023
4 points (100.0% liked)

Memes

52312 readers
2286 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] ReakDuck@lemmy.ml 1 points 2 years ago

Is it easier to remove Snap from Ubuntu or Edge from Windows 11?

[–] myrrh@iusearchlinux.fyi 1 points 2 years ago* (last edited 2 years ago)

xkcd 149

also shamelessly plugging !windows_help@iusearchlinux.fyi.

edit typo

[–] AccountMaker@slrpnk.net 1 points 2 years ago

When I was first starting out my programming adventures with Python, someone told me that I should work with Python 3 instead of 2 because that's what will be maintained in the future (this was some 8 years ago). I decided to listen and when I got home I opened up my terminal, wrote:

sudo apt-get remove python

Followed by

sudo apt-get install python3

Only to be suddenly greeted with:

sudo: command not found

[–] firelizzard@programming.dev 0 points 2 years ago (1 children)

This is how I feel about Java vs Go/C#/etc

[–] SpookySnek@sh.itjust.works 0 points 2 years ago (1 children)

Which is java and which is C# lmao

[–] firelizzard@programming.dev 0 points 2 years ago* (last edited 2 years ago) (2 children)

Java is the top, C# is the bottom. The Java language designers consider unsigned integers harmful (and this). They're basically saying "You could hurt yourself with this so we're taking it away." I find that patronizing and disrespectful. On the other hand C# and Go tell you, "Yo bro, doing pointer math and direct memory manipulation is not safe, but I'm not gonna stop you."

[–] PixxlMan@lemmy.world 1 points 2 years ago

I love that about C#. It's safe and managed, but if you need the unsafe features for performance etc, then they're available. It's the best if both worlds, imo.

[–] SpookySnek@sh.itjust.works 0 points 2 years ago (1 children)

It sounds like you're thinking of C++ rather than C#, no?

[–] firelizzard@programming.dev 0 points 2 years ago (1 children)

I'm talking about C#'s unsafe keyword. It lets you do pointer shenanigans.

[–] gylotip@lemmy.ml 1 points 2 years ago* (last edited 1 month ago)

C# copied Rust!