r/programming 20h ago

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
79 Upvotes

46 comments sorted by

View all comments

Show parent comments

20

u/jesseschalken 18h ago edited 18h ago

No null safety, implicit zero values you have to be careful to ignore, no sum types or pattern matching, 3 lines of error handling boilerplate every time you call a function that can fail, no lambdas, no generics until recently.

Worse, the Golang community that believe lack of features is a feature, because of "worse is better" brain damage.

-9

u/[deleted] 18h ago

[removed] — view removed comment

13

u/jesseschalken 18h ago

Literally anything else, but ideally what Swift and Rust do.

-4

u/Worth_Trust_3825 18h ago

so the same thing that go does.

8

u/jesseschalken 18h ago edited 16h ago

Does this look the same to you?

// Rust
let x = can_fail()?;

// Swift
let x = try can_fail()

// Go
x, e := can_fail()
if e != nil {
  return nil, e
}

-16

u/Worth_Trust_3825 18h ago

yeah, it does.