Preferences

platinumrad
Joined 1,691 karma
Bad opinions but not as bad as those of the person reading this.

  1. "What is soft power?"
  2. 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".
  3. 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).

  4. So you would be okay with your employer putting words in your mouth?
  5. 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.
  6. 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.

  7. 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.
  8. Where did you get the idea that they don't make eminent domain payments?
  9. Oh, I guess you were talking about Jews then.
  10. Now this might strike some viewers as harsh, but I believe everyone involved in this story should die.
  11. Larry Ellison.
  12. 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.
  13. 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.
  14. 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.

  15. Boring answer, but Rust has better containers (and worse algorithms).
  16. <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.

  17. 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".
  18. I honestly don't think the Chinese government cares about my way of life.
  19. The average app also isn't made by a company that is headquartered in China.
  20. 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.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal