7 points

Who the hell would call python beautiful has never seen python code in the wild

permalink
report
reply
2 points

Every language starts out as beautiful, then it becomes popular, a whole lot of new features get wedged into it, and everyone who’s watched a 5 minute tutorial video starts coding in it.

I remember the days when Python, Java and even Perl were considered beautiful.

permalink
report
parent
reply
1 point

Too true, python can be beautiful and succinct or like a huge plate of spaghetti cut up with scissors

permalink
report
parent
reply
3 points

One big reason Nim never really caught on is because we’ve got lots of fast-ish languages with garbage collection (like Go, which sucks a lot of oxygen away from Nim IMO). Rust introduced a new concept to the mainstream that lets you program safely without a runtime hit for garbage collection.

permalink
report
reply
2 points

Ada would like a word with you ;)

permalink
report
parent
reply
3 points

To my knowledge, Ada doesn’t have an equivalent to Rust’s borrow checker. I also think I covered that base by specifying “mainstream” 😀

permalink
report
parent
reply
3 points

Once you get used to the Rust syntax, it actually makes the code look cleaner.

permalink
report
reply
2 points

Ans you also learn to format it properly.

Generally any new santax looks ugly. Then when you understand why it is written like it is it starts looking good.

permalink
report
parent
reply
3 points

learn to format it properly stop trying to correct rustfmt

FTFY

permalink
report
parent
reply
1 point

What are the last two? I know Python and C, but haven’t seen the last two.

permalink
report
reply
2 points
*

Those are Rust and Nim

permalink
report
parent
reply
2 points

The third one is rust which has become a meme at this point. Programmers like it because it has almost as much performance as C but has a lot of safeguards preventing memory errors and vulnerabilities. I have no idea what the last one is tho

permalink
report
parent
reply
0 points

Did rust change it’s logo? I thought it was a gear. :s

permalink
report
parent
reply
2 points

It did not change logo. This is the mascot.

permalink
report
parent
reply
0 points

I think it just has two logos but idk

permalink
report
parent
reply
1 point

Crab is Rust, but the last one…

permalink
report
parent
reply
1 point
*

Apparently it’s called nim.

https://en.m.wikipedia.org/wiki/Nim_(programming_language)

Looking at the Wikipedia article, it seems like it has some weird syntax choices. And even though it compiles to C code, I’m not convinced that it’s as fast as C or Rust, since it has a garbage collector.

permalink
report
parent
reply
1 point

I’m pretty skeptical it could be as fast and safe as Rust without the added challenge. Like, even doing what Rust did was a big deal.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.6K

    Monthly active users

  • 1.5K

    Posts

  • 34K

    Comments