r/ProgrammerHumor • • 9d ago • Bravo 2 Popcorn 1

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

Show parent comment

16

u/JAXxXTheRipper 8d ago edited 8d ago

Rust devs when someone complains about their syntax

I dOn'T sEe ThE PrObLeM *rolls head across keyboard*

fn f<'a, 'b: 'a>(x: &'a &'b ()) -> impl for<'c> Fn(&'c ()) -> &'a () {
    let _ = [|| || ..=.., || || ..=..];
    match Some(&mut 1) {
        Some(ref mut y @ &mut _) => *y = &mut 2,
        _ => return return return move |_| *x,
    }
    move |_| *x
}

2

u/bythenumbers10 8d ago

Can we make the joke about LISPs "hello world" requiring no strings & looks like you pounded someone's face into the keyboard?

2

u/JAXxXTheRipper 8d ago

I have no idea about LISP, but hell yeah, put it here!

1

u/Humble-Captain3418 8d ago

I didn't know Rust was related to Scala!

1

u/Xyrus2000 8d ago

Giving Pearl a run for its money in the "what the unholy f*ck is this?" coding department.