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.
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
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.
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 :)
LGTM: Large Glitches, Test More!
Oh... Oh god
Oh, so Rust is like JavaScript!
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.
Undervalued comment right there. This is better than the OP
rustfmt
is stopping me from writing code like this, and I have never been more happier using it after viewing this.
I'm going to write a tool that automatically adds the braces and semicolons to the column as you edit the code.
I will call it rustfml
Crap, thats what I was thinking.
It could be run after git checkout and then rustfmt before commit.
Slow down satan
Then some jerk runs rustfmt and ruins all your hard work!
Can't you fix the default format to this?
My medication mostly.
I hate it with every fibre of my being but also secretly calmed by that column of statement terminators and brackets.
It's like the code representation of the Vancouver riots kiss photo.
DwangoAC and the TASBot crew are maniacs in the best possible way. I would like to continue having a high opinion of him, hence I will pretend that this post does not exist.
This makes my deeply uncomfortable, like an itch I can't quite scratch.
Wow, so this is possible.
Formatting is so damn arbitrary. Somebody has to have tried storing just the parse tree on disk, right?
My eyes! My eyes!!!!
My humanity.
Sanity
Oh... Oh! Well, that is creative.
I like python like really really like it. But this should be a warcrime
I’ll allow it!
No
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics