I’m not sure I completely understand the differences. Are they seperate or somehow connected?
Also I’ve read you can view kbin instances on Lemmy somehow. How does that work if they’re two different things?
I’m using Liftoff is it somehow possible to view kbin instances on there?
Is OOP considered archaic now? What is a more preferable paradigm nowadays?
Archaic by the sense of some people really want to replace it with something new, which will be as groundbreaking as structured programming was. While functional programming has its merits, it’s not the catch-all solution as its evangelists claim. It’s more of a tech hype around a pretty useful paradigm, but unfortunately people want to use it like a Swiss-army knife, while it’s more like a hammer or a screwdriver. I personally prefer multi-paradigm programming languages like D.
Pure OOP is now archaic, but the principles are still used. More modern OOP languages incorporate functional programming concepts and are more of a hybrid. C# is probably the best example of a language with strong OOP and good functional support. Java is also heading that way slowly.
Functional programming is gaining steam again, but in its pure form, it’s not as useful in many domains. A hybrid approach of take all the best ideas and use whatever fits best with the problem at hand is going to become the next paradigm, but I don’t think it has a name.
“Pure paradigm” programming languages are really just toys for research and experimentation, IMO. I remember taking various courses on these sorts of things and, for example, the OOP prof would say “one of the cool things about pure OOP is that there are no loops or if statements. Now, here’s how you go about faking a loop or if statement using pure OOP, because it turns out you really need that to accomplish anything.”
In the real world you’ll want to use whatever works best, which often means a language that contains a bunch of features from different paradigms merged together. Ideally in a rational and well-structured manner, but given how much usage Python gets that’s clearly not a fundamental requirement.
You also have to balance the ability to get shit done makes a language more widely used, see perl. Eventually things also need to get modified, so languages that are easy to follow become popular, see perl losing popularity.