It really just irks me when people conflate #SingleDispatch #ObjectOriented programming with #MultipleDispatch.
They're both #OOP, 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
It really just irks me when people conflate #SingleDispatch #ObjectOriented programming with #MultipleDispatch.
They're both #OOP, 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
https://en.wikipedia.org/wiki/Entity_component_system#Characteristics
> 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 #ObjectOriented sytems (https://en.wikipedia.org/wiki/Multiple_dispatch) have no such problem.
#objectoriented #clos #commonlisp #wikipedia
I'm kinda getting #Python now, but not the rampant enthusiasm for it. AFAICS (and IMHO), #Ruby is far superior in terms of #metaprogramming, 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
Some #RealTime #ObjectOriented programming in #ATS for #RosettaCode. And I mean really #OO, 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??????
#realtime #objectoriented #ats #rosettacode #oo #atslang
@Perl For those who havenβt been following @ovidβs #Corinna project to bring modern effective #ObjectOriented #programming to #Perl, itβs coming this year with version 5.38βs experimental `class` feature.
Release engineer @rjbs is collecting the release branch in https://github.com/Perl/perl5/pull/21108; you can read the new `class` feature announcement at https://github.com/rjbs/perl5/blob/release-5.38.0/pod/perldelta.pod#new-class-feature, check https://github.com/rjbs/perl5/blob/release-5.38.0/pod/perlclass.pod for a full reference, or dive deep into the internals at https://github.com/rjbs/perl5/blob/release-5.38.0/pod/perlclassguts.pod
#corinna #objectoriented #programming #perl
A new entry for #ObjectIcon --
Euler method - Rosetta Code https://rosettacode.org/wiki/Euler_method#ObjectIcon
#Icon #ObjectOriented #GoalDirected #EulerMethod #DifferentialEquations
#objecticon #icon #objectoriented #goaldirected #eulermethod #differentialequations
https://www.youtube.com/watch?v=TMuno5RZNeE
#programming #c #cpp
#solid #objectoriented #agile #programming #c #cpp
π’New in MEAPπ’
#ObjectOriented 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: http://mng.bz/Y1KA
Do you consider #MultiMethods to be inherently #ObjectOriented?
#multimethods #objectoriented #objects #programminglanguages
@lanodan @anna I'm not quite convinced about unstructured or ad-hoc structured file devices ala #Plan9 either.
But then my preference either requires an #ABI like #COM or just putting your whole environment on a single language with structure support like #Lisp machines or other #ObjectOriented #OperatingSystems.
#ABI #com #lisp #objectoriented #operatingsystems #plan9
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.
#objectoriented #softwaredesign
#softwaredesign #objectoriented
I just published Factory Method pattern β Class Creational
#designpatterns #computerscience #objectoriented #programming #cleancode
https://medium.com/@federico.bruzzone.i/factory-method-pattern-class-creational-6c29e66b5c3a
#cleancode #Programming #objectoriented #computerscience #designpatterns
Re-exploring an old idea in real shipping code: write your #ObjectOriented code so it doesn't expose its fields/properties. No getters, no setters.
I just published Builder β Object Creational
#designpatterns #computerscience #objectoriented #programming #cleancode
https://medium.com/@federico.bruzzone.i/builder-object-creational-df35c97ba875
#cleancode #Programming #objectoriented #computerscience #designpatterns
Take a look, you might need it.
Abstact Factory - Object Creational
#Technology #designpatterns #computerscience #objectoriented #Programming #cleancode
https://medium.com/@federico.bruzzone.i/abstract-factory-object-creational-7c25302d3913
#cleancode #Programming #objectoriented #computerscience #designpatterns #Technology
#objectoriented #Programming 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.
I just published Design Patterns βββ Introduction
β¨β¨Look here β> https://medium.com/@federico.bruzzone.i/design-patterns-introduction-6f12fd2c7c92β¨
#Technology #designpatterns #computerscience #objectoriented #Programming #cleancode
#cleancode #Programming #objectoriented #computerscience #designpatterns #Technology
I just published Design Patterns βββ Introduction β¨βββββββββββββββββββββββββ
https://medium.com/@federico.bruzzone.i/design-patterns-introduction-6f12fd2c7c92β¨βββββββββββββββββββββββββ
#designpatterns #computerscience #objectoriented #Programming #cleancode
#cleancode #Programming #objectoriented #computerscience #designpatterns
I just published Design Patterns βββ Introduction β¨βββββββββββββββββββββββββ
https://medium.com/@federico.bruzzone.i/design-patterns-introduction-6f12fd2c7c92β¨βββββββββββββββββββββββββ
#designpatterns #computerscience #objectoriented #Programming #cleancode
#cleancode #Programming #objectoriented #computerscience #designpatterns