- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
My eyes! My eyes!!!
No
I don’t know Rust. 🤷🏻♂️
(I mean, I don’t know a lot of Python either so I can’t even get the joke. 😞)
Look at the right side of the code editor
lmao I didn’t even notice
These scrollbars with issue indicators are becoming more and more fancy
In Rust and lots of other languages you have to end each statement with a semicolon. The semi colon is usually placed right after the statement, but in this example there’s indentation after each statement before the semicolon so they’re all aligned.
There’s also the curly brackets, they’re padded in the same way, but those usually define where a scope (block) starts and ends making it even worse.
Then some jerk runs rustfmt and ruins all your hard work!
Can’t you fix the default format to this?
My humanity.
I’m good at Python, and I don’t know Rust. This looks fine to me. I’ve fully missed the joke.
Same. Until you notice the column of curly braces and semi colons in the right margin.
Oh… Oh god
Oh, so Rust is like JavaScript!
Pretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.
Undervalued comment right there. This is better than the OP
No, Rust lacks the semicolon elision rules of Javascript which make everyone always use semicolons in javascript because they’re so horribly broken.
Rust is like ML, quite literally, not just by ancestry: The syntax is palpably ugly, but at least it’s sane, regular, and concise where it matters.
Lgtm ship it to prod
Lgtm? Let’s go to Madrid?
You never review code when you have no time to do an actual review? Looks good to me :)
You never review code when you have no time to do an actual review?
Nope. Then again, I never review code at all 🤷😁
Don’t review, don’t write tests, and don’t even do QA. All of those tasks are overhead. It’s time you could be spending completing more story points. All that matters is story points, not the customer, not your coworkers, not your happiness, not your sanity. Just story points.
LGTM: Large Glitches, Test More!
A funny, but incredibly subtle joke to do would be to do a post like this, but get the indentation subtly wrong somewhere, so something that’s supposed to be inside a loop is outside according to indentation, but is inside according to braces.
To me it just looks like you do not need the braces at all
My medication mostly.
This is why python has to be putdown
I dislike Python as well, but it has it place. I only use it for quick code tests before doing it in other languages.
Oh… Oh! Well, that is creative.
I’ll allow it!
Hang on, this is just a C++ joke slapped onto Rust.
You could say they have rewritten the joke in Rust
But you get the joke faster now.
No, it’s just impossible for it to leak out of a hole in the back of your head that you didn’t realise was growing under your pony tail.
It took me way too long to notice the horror on the right
I like python like really really like it. But this should be a warcrime