LisPi · @lispi314
528 followers · 11076 posts · Server mastodon.top

It really just irks me when people conflate programming with .

They're both , but they have some pretty drastic differences in how they go about it and that has consequences for the code's maintainability and often performance as well.

#singledispatch #objectoriented #multipledispatch #oop

Last updated 2 years ago

LisPi · @lispi314
528 followers · 11076 posts · Server mastodon.top

It really just irks me when people conflate programming with .

They're both , but they have some pretty drastic differences in how they go about it and what consequences it has for the code's maintainability and often performance as well.

#singledispatch #objectoriented #multipledispatch #oop

Last updated 2 years ago

LisPi · @lispi314
528 followers · 11074 posts · Server mastodon.top

en.wikipedia.org/wiki/Entity_c

> This eliminates the ambiguity problems of deep and wide inheritance hierarchies often found in Object Oriented Programming techniques that are difficult to understand, maintain, and extend. Common ECS approaches are highly compatible with, and are often combined with, data-oriented design techniques.

I'm sorry what? Generics and multi-methods sytems (en.wikipedia.org/wiki/Multiple) have no such problem.

functional.cafe/@awkravchuk/11

#objectoriented #clos #commonlisp #wikipedia

Last updated 2 years ago

GenghisKen Coar · @GenghisKen
91 followers · 366 posts · Server ruby.social

I'm kinda getting now, but not the rampant enthusiasm for it. AFAICS (and IMHO), is far superior in terms of , class vs instance scopes, and intuitively obvious object orientedness.

Maybe it's just Python's ubiquity that keeps it so.. ubiquitous. πŸ€”

#python #ruby #metaprogramming #objectoriented #oo

Last updated 2 years ago

Barry Schwartz πŸ«– · @chemoelectric
508 followers · 8160 posts · Server masto.ai

Some programming in for . And I mean really , not type hierarchy masquerading as OO. Communicating objects.

There is no type hierarchy, because none is needed. One can use a closure to connect two objects, as long as the connection is compatible at both ends.

And there is just one thread, because why in heck would you need two threads, just to read the time on the clock??????

rosettacode.org/wiki/Active_ob

#realtime #objectoriented #ats #rosettacode #oo #atslang

Last updated 2 years ago

Mark Gardner ‍:sdf: · @mjgardner
649 followers · 3898 posts · Server social.sdf.org

@Perl For those who haven’t been following @ovid’s project to bring modern effective to , it’s coming this year with version 5.38’s experimental `class` feature.

Release engineer @rjbs is collecting the release branch in github.com/Perl/perl5/pull/211; you can read the new `class` feature announcement at github.com/rjbs/perl5/blob/rel, check github.com/rjbs/perl5/blob/rel for a full reference, or dive deep into the internals at github.com/rjbs/perl5/blob/rel

#corinna #objectoriented #programming #perl

Last updated 2 years ago

Barry Schwartz πŸ«– · @chemoelectric
501 followers · 7683 posts · Server masto.ai

πŸ“’New in MEAPπŸ“’

code that’s manageable, maintainable, and future-proof!

Discover design practices, principles, and patterns that will simplify software & ensure your applications are easy-to-manage for the long term: mng.bz/Y1KA

#objectoriented

Last updated 2 years ago

thekkid · @thekkid
49 followers · 124 posts · Server fosstodon.org
LisPi · @lispi314
243 followers · 3559 posts · Server mastodon.top

@lanodan @anna I'm not quite convinced about unstructured or ad-hoc structured file devices ala either.

But then my preference either requires an like or just putting your whole environment on a single language with structure support like machines or other .

#ABI #com #lisp #objectoriented #operatingsystems #plan9

Last updated 3 years ago

Thomas · @escamoteur
432 followers · 8249 posts · Server social.tchncs.de

OO defines classes as data plus methods to modify the state of that data.
Can you shoot yourself in the foot with mutable objects? Probably, but it honestly never was the source of any serious bug in my 30 years of OO development.
Do you need to know what you are doing? Definitely but you should know that anyway as a professional developer.

#softwaredesign #objectoriented

Last updated 3 years ago

Federico Bruzzone · @federicobruzzone
2 followers · 10 posts · Server mstdn.social
Jon Reid · @qcoding
670 followers · 353 posts · Server techhub.social

Re-exploring an old idea in real shipping code: write your code so it doesn't expose its fields/properties. No getters, no setters.

#objectoriented

Last updated 3 years ago

Federico Bruzzone · @federicobruzzone
2 followers · 9 posts · Server mstdn.social
Federico Bruzzone · @federicobruzzone
2 followers · 9 posts · Server mstdn.social
popitter_net · @popitter_net
44 followers · 56 posts · Server mastodon.social

with popitter_net:
1) if x is an object, then x is an object.
2) if M is an object with x free, then (Ξ»x. M) is an object.
3) if M and N are objects, then (M N) is an object.

Control flow:
IF-THEN-ELSE is an object: (Ξ»p.Ξ»a.Ξ»b.p a b)
WHILE is an object: (Ξ»x.x x)

Type safety: The object of all objects which do not contain themselves is an object.

Memory safety: The system is stateless, so we don't need to memorize anything.

#objectoriented #programming

Last updated 3 years ago

Federico Bruzzone · @federicobruzzone
2 followers · 9 posts · Server mstdn.social
Federico Bruzzone · @federicobruzzone
0 followers · 3 posts · Server mstdn.social

I just published Design Patterns β€Šβ€”β€Š Introduction 
—————————————————————————
medium.com/@federico.bruzzone.
—————————————————————————

#cleancode #Programming #objectoriented #computerscience #designpatterns

Last updated 3 years ago

Federico Bruzzone · @federicobruzzone
0 followers · 3 posts · Server mstdn.social

I just published Design Patterns β€Šβ€”β€Š Introduction 
—————————————————————————
medium.com/@federico.bruzzone.
—————————————————————————

#cleancode #Programming #objectoriented #computerscience #designpatterns

Last updated 3 years ago