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?
PHP has a lot of rough edges and somewhat archaic paradigms (OOP), and thus not liked by many, especially those who got used to more modern languages and its features.
Also PHP lacked type safety for a long time, which is almost only disliked by young inexperienced programmers, who think typing
int
instead ofvar
is scary because their teacher said so.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.