News for hackers. Stuff that matters.
Re:Kotlin: The Problem with null by charliesome on Friday January 12, 2018 @08:58PM (#16137835)
In Rust you can also write:

    if let (Some(q_in), Some(z_in)) = (q, z) {
        q_in + z_in
    } else {
        0
    }

There are no comments on this comment yet.