"There you go, now try to add your stupid bugs. See, you can't!".
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
laughs in unsafe
There! Now try to make a doubly linked list
unsafe
time.
I've poked around in the Rust linked list tutorial, and it all seems like hacks to me. At the end of the day I think you just need to use raw pointers when you're implementing list operations.
quietly implements next
and prev
references using array index
'Rewrite it in Rust' isn't a joke anymore
Was it once a joke?
Bryan Lunduke on /c/programmerhumor? Not what I expected, but okay.
Actually, Lunduke made the best meme I've ever seen.
Finland is in an extended sense 'Scandinavian'; though I'm not sure that they consider themselves descended from 'the Vikings'.
Nordic, but not Scandinavian.
is... is that real?
About as real as any programming humor post. But seriously, he specifically requested that it be enabled and I really don't get the hate that rust gets.
Rust is a really interesting language, the reason I decided not to pursue it further is the community, especially the maintainers (I hope that's the right word for it).
It's full of drama and politics (including real world political stances), sometimes they even incuded them in their release notes.
I wasn't too invested in these aspects, but I don't want to take my time to master something that's one drama away from being abandoned or (more likely) fractured.
Programming languages should be tools to get a job done, not to push political points, even if I happen to agree with most of them.
C++ has a tremendous amount of drama.
I think it's the nature of the beast. Software devs are an opinionated bunch. You need to be able to separate the work from the authors.
As far as whether it's risky, Rust has been adopted by a number of companies and projects that have been rock solid for decades.
Your worry seems largely unfounded to me.
Does it get hate? Everyone in the Python community seems to love rewriting everything in rust...
I categorically refuse to run anything Python at home. It's a bitch to upgrade and most Python programmers are script kiddies at best...
As a person using python professionally (ML/AI), this hits home...
A third category of pain are Java and c# developers writing in python... Real pain...
It is a pity, Python is actually a good language (with defects as any)
It is a language with a lot of history and glue in place to keep it "modern". I do agree that it is possible to write good software in Python, but most of the open source stuff is total shite.
Lets be honest: golang, C++ and rust are not THAT difficult to learn. About the JVM based languages: they should have moved away from the monolythical memory management long ago.
Edit: AI/ML purposes excempted, as they are more script like approaches. I still wonder why Python has grown to be the grandchild of AI though.
I started with fortran 77. C++ is very simple in comparison.
That said, the reason we use python is the ML/AI ecosystem. We do create proper libraries, backend applications, proper type annotations, CI/CD, API, docker and kubernetes. Real software. But the heavy lifting job is done by libraries that have python as main interface.
With python one can produce good code and products, but code reviews and guidelines are extremely important. Too many ways to do the same thing, too many styles, too many people that believe they can code, and too many people that simply don't accept that python is not java or c#.
Proper type annotations are possible in Python, but its more the excemption than the rule.
What I encounter in Python world are dicts, dicts and more dicts.
Edit: i've encountered some developers stepping up from Python to kotlin and Java and making a total mess of things. I agree that it is possible to write structured Python code but 80% of developers are never going to surpass the "scripting" level.
Who hates rust? Rust is amazing?!?
It's not the language that gets the hate mate
The picture itself is satire, but there already being rust in the kernel is reality.
haha. it's something I could see Linus doing, tbh. So I wasn't sure. Thanks.
Yes, but he's doing it because he values the technological advantages of rust as a systems programming language, not because he likes to punish coders. In fact, rust has been the most loved programming languge for 7 or 8 years in a row now according to the big stack overflow survey, so it doesn't make much sense for the purpuse of punishment.
This satiric picture resonates with a certain community of conservative and overconfident C-programmers. It has been created by bryan lunduke, who is a reactionary dumb fuck.
The GPU drivers from the team working on apple silicon linux stuff are written in rust, so it's really coming. The threat part is probably a joke though.
You aren't using the rusty trombone distro???