Elektrine lite

← Feed

@ThirdConsul@lemmy.zip

2026-10-25 14:34 UTC

Not the oc, but honestly just random shit, like: Linq. Async and await are both in python or rust, but still via anexternal provider afaik (like Tokio). Explicit interface implementation (default trait implementation for the Rust fans)? Nice source generators and what you can fo with them (kinda like aspect programming). Idk if python or js support pattern matching or proper low level or no GC coding. I also enjoy my langauges to have an end of statement character like ; instead of the horrible visual mess python is. Type safety of compile and runtime type checks lol. In C# if you say your module requires int parameter, noone will be able to call it passing None/null/string/date.

Replies (2)

  • @marcos@lemmy.world 2026-10-25 16:17

    Linq AKA - We have Monads at home… Rust is really missing something like do syntax. It’s half-way there with the semicolon and question marks, but it’s missing an idiom for .map_or_else and to generalize the thing to work with a trait.

    Open ##5241888

  • @MrScottyTay@sh.itjust.works 2026-10-25 20:58

    Pretty much hit the nail on the head to be honest

    Open ##5244633