Barbacamanitu

joined 1 year ago
[–] Barbacamanitu@sopuli.xyz 17 points 1 year ago

It's hitting now.

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

I don't know of any. Give Rust a try. Traits and trait bounds will change the way you think about code.

[–] Barbacamanitu@sopuli.xyz 12 points 1 year ago

Good riddance.

I also used to love inheritance. That is, right up until I started dabbling with game development and started hitting the limitations. Then I discovered ECS systems and everything changed.

Conpsition is better in every case. I know some people will say inheritance is still good for things like GUIs, but I'm not buying in. I'm now firmly in the Rust camp, and there's nothing someone could do with inheritance that I couldn't do with traits and trait bounds.

Composition ftw.

[–] Barbacamanitu@sopuli.xyz 1 points 1 year ago

I saw these holograms like 15~ years ago, and I've wondered the source of them ever since. Thank you!