6 ms·
Is it a poor take against object oriented, or some half-hidden criticism of the use of masks during the Covid-19 pandemic? For the former, then I would expect
by palata 3y ago
Is it a poor take against object oriented, or some half-hidden criticism of the use of masks during the Covid-19 pandemic?
For the former, then I would expect a computer science professor to do better than just bashing the concept. When is it good, and when is it bad? What did it bring to programming languages?
For the latter, I would expect a computer science professor to know that epidemiology is not their thing and they should refrain from concluding "stuff" from a scientific paper they found.
- jjgreen 3y agoI'm curious, isn't the point of scientific papers for experts to give some information to non-experts?
- palata 3y agoNo. That would be "popularization", I believe, and that is not done by scientific papers. The point of scientific papers is for experts to share observations with other experts. Given enough studies, a group of experts may reach a consensus. Believing that a single study "proves" anything at all is a big misunderstanding of how science works. A single study "suggests" something, but the goal is to reach a consensus. In this particular case, a computer science professor who is (apparently) not at all an expert in epidemiology throws sarcasm against an emergency response to Covid-19 for no apparent reason (unless object-oriented was an emergency response to some virus, I don't know). What this computer science professor could do (but doesn't), though, is bring insights related to their expertise (presumably "computer science"). I mean something other than "object oriented == baaaaad, believe me".
- jjgreen 3y agoUniversity libraries should take journals out of the main library and move them to the relevant departments, we'll put a stop to this interdisciplinary nonsense (A sociologist reading an engineering journal, imagine!)
- palata 3y agoWhat you are doing here is called manipulation: you rephrase what I said ("a computer science professor should not throw a link to a study as a justification for unnecessary sarcasm in an article with an authoritative tone") and push it to the extreme ("universities should forbid people to read articles in domains where they are not experts"). I am pretty sure you understood what I meant: it is a poor take in terms of computer science (which I find disappointing coming from a "computer science professor") that includes unnecessary bashing at a completely unrelated measure.
- mike_hearn 3y ago> The point of scientific papers is for experts to share observations with other experts If that were the case there'd have been no open access movement, and papers wouldn't even exist at all, just discussions in conference halls and private listservs. You also wouldn't need citations because you'd just assume every reader was already familiar with the literature. The point of scientific papers is to disseminate knowledge and findings as widely as possible. This is the first time I've seen anyone explicitly argue otherwise. > Believing that a single study "proves" anything at all is a big misunderstanding of how science works If a single paper is done correctly then it can in fact prove things. History is full of examples like that. Again, the idea that science is all about consensus is just wrong - it's an idea modern academics cling too far too regularly but it's simply not true. Einstein himself said that.
- palata 3y ago> If that were the case there'd have been no open access movement Open access means that people don't need to be researchers at Harvard to have access to science. You can be an expert without being rich or without working in a rich university. I won't address the last part of the sentence because it is preposterous. > The point of scientific papers is to disseminate knowledge and findings as widely as possible. This is the first time I've seen anyone explicitly argue otherwise. Sure it is! But the target audience of a paper is quite obviously other experts in the field. > If a single paper is done correctly then it can in fact prove things. History is full of examples like that. Well of course, it can happen: a mathematical proof does not need consensus. But a study about the efficiency of masks in preventing Covid-19 is extremely different. If you are not convinced, try to read the study in question. The tone there explicitly shows that there is no certainty: they contribute valuable information, but it's not a definitive proof. Not to mention that even if we could say today that masks were not effective, it does not mean that back then it was a ridiculous decision. Back then we did not know exactly how Covid-19 was propagating, so it seemed reasonable to wear masks.
- mike_hearn 3y ago> Open access means that people don't need to be researchers at Harvard to have access to science It means they don't need to be in academia at all. That is the explicit goal of open access. > But the target audience of a paper is quite obviously other experts in the field. It doesn't matter who academics would like their audience to be, the actual audience is anyone who needs or wants to read it. That's why they get given grants and why the open access movement was created. > Not to mention that even if we could say today that masks were not effective, it does not mean that back then it was a ridiculous decision Remember that at the start, all the 'experts' were happy to say masks would have no effect! If you dig in and look at why they were saying that, it's because masks would have no effect (and didn't). Their step change came after political pressure to agree to masking both from within and without, which they just immediately acquiesced to apparently due to the strange belief that such things don't have any downsides. All this has been well documented. I read a lot of mask and epidemiology papers during COVID. They were all terrible. Standards in computer science are much higher, so this belief that Lemire shouldn't be allowed to have opinions is kind of entertaining.
- jqpabc123 3y agoWhen is it good, and when is it bad? Good question. OOP seperates software into isolated units called "objects". But in order to function as a cohesive whole, these units have to communicate somehow. And this is usually where the fun begins. OOP intentionally turns all software into a distributed system --- even if it is not distributed. Whether there is any real advantage to this is a matter of opinion --- it can't be proven one way or the other. But in my experience with distributed systems, it is often less efficient and more difficult to see and reason about the logic flow and harder to debug and test. Your mileage may vary.
- palata 3y ago> OOP intentionally turns all software into a distributed system --- even if it is not distributed. Could you elaborate on that? And would you say for instance that Rust suffers from the same problems? Because Rust offers many characteristics of OOP.
- jqpabc123 3y agoCould you elaborate on that? Distributed systems typically rely on messaging passing to some sort of "interface" in order to communicate and coordinate actions with remote nodes. Objects work much the same way and are designed to mimic the characteristics of an independent, remote computer node. This can be done in any language that offers encapsulation of data, methods and state.
- kaba0 3y ago> OOP intentionally turns all software into a distributed system OOP does have a message-passing version, but even though the coiner of the term prefers this version, no one in the industry used it that way. The industry settled on method calls as the primary channel for these messages, which are most of the way a form of synchronous communication on the same thread, quite far from being a distributed system. Object `a` calling a method from object b’s public API is not a distributed system at all. And while I do agree that this cohesive whole is not necessarily represented in OOP, one solution is to create an object over the whole, that itself upholds the necessary conditions/order/etc between its subcomponents, exposing only a higher level API to the outside world, and making those subcomponents otherwise inaccessible.
- okaleniuk 3y agoNeither. "The lesson you should draw is not that object-oriented is bad, but rather that whatever is the current trendy technique and trendy idea, is likely grossly overrated."
- palata 3y agoRight ok. It's just two opinions: "be careful with trends" and "I don't like masks". It just felt like it was meant as an analysis: "Learning from ..." and "The lesson you should draw is ...". But that is not what it is.
- DeathArrow 3y ago> Is it a poor take against object oriented Why do you think it is a poor take? What are your views on OOP?
- palata 3y agoI think it is a poor take because it says almost nothing and it justifies nothing. It could fit in a tweet: "Beware of hypes. Oh and I was against masks during the pandemic". It's called "Learning from the Object Oriented Mania", but what did we learn exactly? Would the industry be in a better place if all languages looked a lot more like C? Or maybe Haskell? Does Rust count as OOP or not? Was Object Oriented an unjustified trend, or was it a "natural" evolution of languages? That last question is actually similar to the mask question: was it indeed stupid to ask people to wear masks, or did it make sense at the time, given our understanding at the time? But the article misses on this opportunity by just bashing at the masks without going any further. > What are your views on OOP? My view (which I wouldn't consider informed enough to be a blog post) is that modern languages like Rust mostly drops class inheritance, but other than that they look a lot more like Java/C++ than C. And that's the new "trend": dropping class inheritance, "Composition over inheritance". Which is a fair point: class inheritance can have issues. In some cases it actually does make sense, but languages like Rust decide not to allow it (I guess partly to avoid "footguns" and partly for performance reasons). But the idea of encapsulation in an object is there in the most popular modern languages. If the concept of calling `my_list.is_empty()` instead of `is_empty(my_list)` is "OOP", then I think it is actually still very much in fashion and for good reasons.
- Tomis02 3y ago> But the idea of encapsulation in an object is there in the most popular modern languages. Encapsulation is not specific to OOP at all. C is not OOP and yet it has encapsulation just fine. > If the concept of calling `my_list.is_empty()` instead of `is_empty(my_list)` is "OOP", then I think it is actually still very much in fashion and for good reasons. You're absolutely right, it's fashion. > And that's the new "trend": dropping class inheritance, "Composition over inheritance". New trend, huh? You realise that that saying came out 30 years ago? It took that long for the brainwashed OOP masses to even acknowledge that inheritance is bad.
- urduntupu 3y agoIt's his blog an his opinion. I liked his side kick on the masks mandate and thanked him for that via email.
- EuAndreh 2y agoA dog-whistle camouflaged by criticism of OOP since it is out-of-fashion.