Well there’s your problem :P every language has bad code examples
Well there’s your problem :P every language has bad code examples
Even though most of the specifics you point to are wrong, it’s a good point overall:
Rust, being #1, should be better than all other languages. The fact that it’s just decent makes it seem overhyped, and all the downvotes on haters make it look like a cult.
Back when it was small, the cult-like following was OK. But now that the language is becoming more mainstream I think the Rust evangelizers need to tone it down a bit or they risk pushing people away.
On your point, TypeScript is a decent language too. There can be two good things.
In OP’s defense I have heard this said unironically by several engineers at my last job.
“Rust is going to replace JavaScript thanks to webassembly, so we should be moving all of our code to that.”
“Our client should be in the same language as our backend, just like in GWT”
Did you inline all those types just to make it ugly? Normally each of those subtypes would have been in a separate typedef, each with documentation.
Apologies for the tangent:
I know we’re just having fun, but in the future consider adding the word “some” to statements about groups. It’s just one word, but it adds a lot of nuance and doesn’t make the joke less funny.
That 90’s brand of humor of “X group does Y” has led many in my generation to think in absolutes and to get polarized as a result. I’d really appreciate your help to work against that for future generations.
Totally optional. Thank you
Too long, didn’t read
I see your concern, but in practice that’s not what happens in languages like Java and Python with exceptions. Not checking for exceptions is a choice because everyone knows you need to check in your top-level functions. Forgetting to catch is a problem that only hits newbies.
Oof, some of these comments. Sorry on behalf of the edge lords, OP.
But the entire point of Rust and Result is… to force you to make a choice of what should happen
Checked exceptions also force you to handle it and take way less boilerplate.
Nit: One engineer at a company saying something is not the same as that whole company saying something. I wish they would just say “Google employee insists…”
Zigbee or really any Bluetooth alternative.
Bluetooth is a poorly engineered protocol. It jumps around the spectrum while transmitting, which makes it difficult and power intensive for bluetooth receivers to track.
In summary, a bunch of 60 year old C developers with social deficits hijacking the conversation when he gives a talk or tries to get anything done. E.g. the link was people interrupting a QA session to complaining “I don’t want to learn Rust”.
The government had a warrant, read the article.
It’s just made confusing by the fact that the thief had signed into the victim’s phone, so it makes for a good clickbait story “police got the wrong guy’s data”
If by “when asked” you mean “given a search warrant with very clear evidence that this man had stolen a car”, then… Yes? I’m not sure what you’re trying to prove here.
The ex-boyfriend had signed into the guy’s phone. It’s not like the police just cast a wide net and randomly got his data.
Look I never said I disagree. My point to OP is just please don’t make up shit that straight up isn’t true. Pick a real issue, not some made up paranoia.
Re 1: People keep lumping Google with Amazon and Meta, but Google does not sell your private data and alerts you if it finds out the government to accessed your data. People keep assuming that because the general tech community sells data that Google does it too, but check their privacy policy or just ask anyone who’s worked there. They don’t.
User data at Google is locked up tighter than fort knox. That’s why the Snowden leak was such a huge deal, because the NSA was taking advantage of a security flaw that Google didn’t know it had to scrape user data. Google patched it immediately after they found out.
Amazon, Meta, and Uber, are much less scrupulous.
TIL there are like no women on lemmy
Because security through obscurity is not security at all.
I’ve been a big fan of monorepos because it leads to more consistent style and coding across the whole company. It makes the code more transparent so you can see what’s going on with the rest of the company, too, which helps reduce code islands and duplicated work. It enables me to build everything from source, which helps catch bugs that would only show up in prod due to version drift. It also means that I can do massive refactorings across the company without breaking anything.
That said, tooling is slowly improving for decentralized repos, so some of these may be doable on git now/soon.
Divisive take. And an unpopular one, seeing as manjaro is the fifth most popular linux distribution.