- 2 posts
- 40 comments
- asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
6 months- Macro syntax technically isn’t even Rust
- This is definitely not average Rust code.
- asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
6 monthsHard disagree. Super beautiful.
Yep, we disagree. The world and technology especially is an extremely complicated place. IMO any complex system that is built upon “humans should just know all this complexity and keep it in mind all the time” is fundamentally broken.
I think you’re saying the same thing as what I am. If it’s more complex than what you may think, the language should guard against it. If not, it should make it simple.
Rust, for example, is the only mainstream language where it isn’t possible to read from a file handle after it’s been closed. Doing so is a compilation failure. This is just a general invariant of “how to use files”.
But you also don’t need to think about allocating or deallocating memory in Rust. It does that fke you automatically, even though it’s not GC.
JS can also be complicated when it tries to hide realities about the world. E.g. is a const array or object immutable? No, the pointer is. But pointers don’t exist! /s
I mean, this is correct in many cases, unironically.
It should be one of the core purposes of a programming language to help humans to write the code they intend. If a language doesnt do that then it’s bad.
Isn’t that assuming you have access to doing arbitrary SQL queries on the database? Then you’d by definition have access to records you shouldn’t.
Just curious, but if SSNs were not recycled after death, would there be any reason not to use them as a primary key?
- asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•Why do people faint at the sight of plain-text code?
1 yearTake a look at Rust. It’s what I’d call an exceptionally well defined language.
How do code reviews work with contractors? Is it just “you don’t get paid until we approve it”?
Top pic is a Mutex and bottom is lock-free concurrency.
You can do that but only under paid accounts.
What’s insecure about them?
Hard disagree. I don’t understand why anyone would want case insensitive.
Am I the only one who doesn’t go around mindlessly capitalizing letters? Do people find it too difficult to capitalize things?
Do you want case insensitive passwords too?
If I type X I mean X and only X. Uppercase letters are different letters, just like X and Y are different letters.
- 1 year
Hmm, I haven’t had that issue
- asdfasdfasdf@lemmy.worldto
Programmer Humor@programming.dev•My corporate anti-virus doesn't let me add scanning exclusions
1 yearSo what should a decent IT department do to give developers the access they need to do their job while maintaining a decent level of security?
Give them a Linux machine?
First I’ve heard of this. What’s wrong on Linux?
- asdfasdfasdf@lemmy.worldto
Programming@programming.dev•The US government wants devs to stop using C and C++
2 yearsWhat’s causing the most headache for you?



$564,000 / year??? I’d think definitely two, maybe three.