44 karma · joined Feb 26, 2021 (5y ago) · 5 submissions
comment 5y ago · link · parent
I think the main reason what people get wrong about OOP is that they tend to think everything needs to be models with inheritence, which is completely wrong. Inheritence is BAD!
The rule should be:
1. Avoid inheritance
2. Use interfaces instead
3. If interfaces are not enough, use composition
4. If composition is not enough go through all other similar design patterns that are not based on inheritance.
5. If you really need inheritance, be very careful about which function you make non-final and non-private.
comment 5y ago · link · parent
This is rather survivor bias. Apparently blockchain found some straws to hold on to. It could have been one of those millions go-nowhere projects just as likely.
I think there are legit use cases for it, but ultimately, we are still far from mass adoption and without the crazy monetary gains, I don't even believe anyone would talk about blockchain these days. Technology wise, it's not a strong value proposition. We can do pretty much everything without blockchain. Yeah there are some cases where trustlessness helps, but once this problem would become serious enough, it's not hard to build blockchain technology. It basically follows directly from basic principles defined by the problem. And the fact that everyone "thinks blockchain is new", already proves that the problem actually doesn't really exist.
comment 5y ago · link · parent
* Fraud: Selling a product not as advertised
* Tampering: Selling a product with the tamper seal broken
* Intent of causing bodily harm to newborns
Yeah that should give a nice little jail sentence lol. If this doesn't warrant an investigation then I don't know.
comment 5y ago · link · parent
Private mode never was meant to be a privacy feature against websites. Private mode is to prevent your LOCAL history from containing anything you searched/visited and the legit use case is sharing of the computer with other members of family, for instance. For websites, nothing really changes. They can still track you all the way they want.