Show newer

@lucifargundam @pganssle In the real world, there is more than enough food, water, shelter, etc. to go around. So why do we have classes?

@treyhunner "There should be one– and preferably only one –obvious way to do it." -The Zen of Python

@regordane @Josordoni @lowqualityfacts ... and later, to continue the alliteration, the fictional Horatio Hornblower commands HMS Hotspur.

In Java, if I want to delegate the foo and bar methods to my component a, I have to say something like:

public int foo(int x) {
return a.foo(x);
}

public void bar() {
a.bar();
}

Is there a programming language that natively supports delegation? I'm imagining something like:

delegate a: foo, bar;

This would make it much easier to choose composition over inheritance.

I'm using refactoring.guru/design-patter in my software development course. It's pretty good and, in the words of the late Portland TV pitchman Tom Peterson, "free is a very good price".

I have two concerns:

Rather than just working through the original Gang of Four list, would it be more meaningful to talk about ideas that come up in several of these patterns, like interfaces, delegation, and composition?

How do design patterns change when working in a language like Python rather than C++ or Java? There might be better solutions to some of these problems in a world with duck typing, higher-order functions, optional named arguments, etc.

Cory Doctorow explains the top item in Google's search results is almost always a scammer.

' This kind of "intermediation" business is actually revered in business-schools. As Douglas Rushkoff has written, the modern business wisdom reveres "going meta – not doing anything useful, but rather, creating a chokepoint between people who do useful things and people who want to pay for those things, and squatting there, collecting rent. '

#SearchEngines #scams #rent

pluralistic.net/2023/02/24/pas

10 years after we created Registered Reports, the thing critics assured us would never (in a million years) happen has happened: @Nature is offering them.

The Registered Reports initiative just went up a gear and we are one step closer to eradicating publication bias and reporting bias from science.

Congratulations to all involved in achieving this milestone.

nature.com/articles/d41586-023

@lucifargundam @pganssle

Exactly.

Isn't the original system inherently unjust?

Why does B, but not C, benefit from the new system?

What has C gained except the obligation to either revolt or vaguely "improvise" and "adapt"?

I can almost always tell if a movie doesn't use real dinosaurs.

@lucifargundam @pganssle I don't understand your second paragraph. In what way do the displaced "have to elevate themselves"? Do you mean that they are obligated to go further into debt so they can get additional training so they can compete for the jobs that still exist? How does this shift "the social class ladder upward"?

I seems that the benefits of technology largely accrue to the higher end of the socioeconomic ladder. The lives of the people at the top improve; the people at the bottom just gain new responsibilities.

@TimMcNulty Image description:

Doctors: Googling stuff online doesn't make you a doctor:

Programmers: *monkey puppet giving nervous side eye, then staring straight ahead*

@pganssle @lucifargundam Related question: Why do we always complain about technology "destroying jobs"? Wasn't the point of creating all this technology to reduce the amount of work we have to do?

What is more unpleasant?

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.