πŸ“£ Post by rustyfemboy

2024-11-15 πŸ”„ programmerhumor

I love Rust

rustyfemboy

https://lemmy.blahaj.zone/pictrs/image/2742f23d-ea15-49e0-9df2-1ece86e1b0d0.webp

πŸ”„ programmerhumor

Posts tagged #programmerhumor

πŸ’¬ Replies

2024-11-17 flashgnash ┃ edited

I’ve found rust generally to be far more writing than all other languages I’ve used

2024-11-16 savedbythezsh

Swift: : Equatable
(assuming all the members of the struct are themselves equatable, if not the compiler will tell you to implement the == method)

2024-11-16 fishsayhelo ┃ 1πŸ’¬

in which β€œother languages” is it so very hard?

2024-11-16 sik0fewl

On behalf of Java developers everywhere - thank you Project Lombok!

2024-11-16 yogthos

In Clojure equality checks are done by value as the default, and all the data is represented using a set of common data structures.

2024-11-16 BaumGeist ┃ edited ┃ 2πŸ’¬

Implementing Equality in Haskell:
[…]
deriving (Eq, Ord)
[…]

2024-11-15 kazaika ┃ 1πŸ’¬

I’d argue that the reason this is so bad in other languages is because of horrible default implementations.
Look at tostring in java, getting a somewhat printable object would be easy if the […]

2024-11-15 ooterness ┃ 1πŸ’¬

Now explain PartialEq, and why it’s mandatory.

2024-11-15 Bogasse

I’m much more impressed by the fact that a type can implement PartialEq and not Eq. Now that’s nice design!

2024-11-15 PeriodicallyPedantic ┃ 1πŸ’¬

I mean, if your IDE does it for you, is it really that much better that it’s shorter?

────

View thread

Next page (10-20)

────

πŸ“‘ Local feed

πŸ•οΈ Communities

πŸ”₯ Hashtags

πŸ”Ž Search posts

πŸ”‘ Sign in

πŸ“Š Status

πŸ›Ÿ Help