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

Programmer Humor

32000 readers
1744 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

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

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

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.

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

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

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

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.

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

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.

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

Ada would like a word with you ;)

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

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

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

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

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

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

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

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

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

It did not change logo. This is the mascot.

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

I think it just has two logos but idk

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

The crab is public domain, so you can use it to advertise your own Rust project or whatever. The gear logo belongs to the Rust foundation, which sparked some controversy a while ago.