The Insider News

The Insider News is for breaking IT and Software development news. Post your news, your alerts and
your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be
removed. If you wish to ask a programming question please post it
here.

Get The Daily Insider direct to your mailbox every day. Subscribe
now!

Test subjects in a UW experiment navigated simple mazes based solely on inputs delivered to their brains by a magnetic coil placed at the back of the skull, showing how humans can interact with virtual realities via direct brain stimulation.

Researchers have developed a way to use commercial inkjet printers and readily available ink to print hidden images that are only visible when illuminated with appropriately polarized waves in the terahertz region of the electromagnetic spectrum.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

Article implies inheritance should die; proceeds to use inheritance in one of the solutions. Seems legit Mostly joking. He does raise a good point about class hierarchy but implying decorator can replace inheritance is foolish at best. He even seems to realize this fault later in the article.

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

It can be but can also be more flexible - depends on what you need. I think of it like a builder pattern for behavior. Instead of just smashing classes together (inheritance) it routes classes through each other. It also avoids the Deadly Diamond[^].

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

Personally I prefer the approach Perl takes. Not only does it have well-defined behavior without adding verbosity to the language but it's also customizable by the developer. After using C# for years though I realize multiple inheritance isn't all that useful outside of specific circumstances like mixins. Very easy to abuse as well though one could argue that's the fault of the developer.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

It doesn't. I have seen plenty of C# projects that are written as a collection of static classes. In this case, the class name just serves as a namespace. And with C# 6 you can do using Namespace.ClassName; to pull that static members of static 'ClassName' into the current translation unit.

So, yes, you can do 'C' style structured programming in C# and use OOP only as required. Not that it's necessarily recommended. But, hey, whatever.

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

Uh, yes you can. And I already mentioned that -- like I said, the static class can be treated as a namespace. It's not that much of a mental leap for a beginner.

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

#SupportHeForSheGovernment can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft BensonYou must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

Obviously the headline is for clicks, but in reality he's only describing how inheritance and decorators can work well together. there also seems to be the fascination to include as many design patters in one article as he can fit in.