platinumrad
Joined 1,691 karma
Bad opinions but not as bad as those of the person reading this.
- platinumrad"What is soft power?"
- The "good" rules are like "don't write off the end of an array", and the bad ones are like "no early returns" or "variable names must not be longer than 6 characters". 95% of the "good" rules are basically just longer ways of saying "don't invoke undefined behavior".
- I've (unfortunately) written plenty of "safety critical" code professionally and coding standards definitely have a negative effect overall. The thing keeping planes from falling out of the sky is careful design, which in practice means fail-safes, watchdogs, redundancy, and most-importantly, requirements that aren't overly ambitious.
While maybe 10% of rules are sensible, these sensible rules also tend to be blindingly obvious, or at least table stakes on embedded systems (e.g. don't try to allocate on a system which probably doesn't have a full libc in the first place).
- So you would be okay with your employer putting words in your mouth?
- Those are both completely normal things to do when you're implementing a programming language. For example, the Hotspot JVM uses SIGSEGV to stop the world for garbage collection.
- C: struct be32_t { uint32_t _ }; struct le32_t { uint32_t _ };
C++: That, but with a billion operator overloads and conversion operators so they feel just like native integers.
- We seem to be speedrunning the copying of some of its worst parts. Don't expect to get any of the high-speed rail or abundant housing though.
- Where did you get the idea that they don't make eminent domain payments?
- Oh, I guess you were talking about Jews then.
- Now this might strike some viewers as harsh, but I believe everyone involved in this story should die.
- Larry Ellison.
- Generalized do notation as GP is proposing requires HKT. I don't think it's controversial to say that Go will not be getting HKT.
- Like Rust, F# doesn't have higher-kinded types so it's not generalized like GP is proposing. Each type of computation expression is tied to a specific monad/applicative.
- Even Rust and F#[1] don't have (generalized) do notation, what makes it remotely relevant to a decidedly non-ML-esque language like Go?
[1] Okay fine, you can fake it with enough SRTPs, but Don Syme will come and burn your house down.
- Boring answer, but Rust has better containers (and worse algorithms).
- <algorithm> is a very good header, but most of the containers are substandard at best. `std::unordered_map` is required to be node-based, `std::map` can't be a B-tree, MSVC's implementation of `std::deque` is infamously a glorified `std::list`, and so on.
Pretty much everything else (e.g. iostreams) is horrible.
- The EU is fairly consistent in its application of fines. I think what the poster is commenting on is that when Meta collects data it's "Meta is spying", but when ByteDance collects data it's "China is spying".
- I honestly don't think the Chinese government cares about my way of life.
- The average app also isn't made by a company that is headquartered in China.
- The psyche of the average Blind poster needs to be scientifically studied. There is something deeply wrong with the way those people talk (and presumably think) about money.