Yaroslav Khnygin · @surabax
114 followers · 1200 posts · Server mastodon.ie

Found an interesting article through Manuel Simoni: w3.org/People/Connolly/9703-we

"HTTP was design[ed] as a distributed realization of the Objective C (originally Smalltalk) message passing infrastructure [...]
Uniform Resource Locator is just the result of squeezing the term _object reference_ through the IETF standardization process."

#smalltalk #objectivec #http #www #webdevelopment #webdev #objectorientedprogramming #oop #distributedcomputing #programminglanguages #programming

Last updated 1 year ago

Yaroslav Khnygin · @surabax
114 followers · 1200 posts · Server mastodon.ie
Yaroslav Khnygin · @surabax
104 followers · 1063 posts · Server mastodon.ie

A great paper from 2004 by Richard P. Gabriel (Lucid, Inc.), Jon L White (Lucid, Inc.), Daniel G. Bobrow (Xerox PARC) that explains how Common Lisp Object System integrates functional and object-oriented programming: dreamsongs.com/Files/clos-cacm

#lisp #commonlisp #clos #oop #objectorientedprogramming #functionalprogramming #programming #programminglanguages #plt #xeroxparc #parc

Last updated 1 year ago

Ed Suominen · @edsuom
1579 followers · 552 posts · Server hachyderm.io

@glyph @itamarst There are lots of nuances to this dialect of . For example, consider the case where an is expected to be a middle manager for the actual instances. Here I will say something like "Your subclass can override this method to provide the number of pink elephants born in your city today." Otherwise, it's just "my instance" or perhaps "my subclass instance."

It may seem goofy at first, but I find it very helpful.

#python #documentation #objectorientedprogramming #subclass

Last updated 1 year ago

Yaroslav Khnygin · @surabax
69 followers · 734 posts · Server mastodon.ie
gregorni · @gregorni
96 followers · 533 posts · Server fosstodon.org

Just now realized OOP is short for Object-Oriented Programming ๐Ÿคฏ

#oop #objectorientedprogramming

Last updated 1 year ago

Yaroslav Khnygin · @surabax
63 followers · 643 posts · Server mastodon.ie

in is like in .

It sounds like a good idea at first, but it often causes more problems than it solves.

Inheritance in leads to brittle hierarchies that are risky to change and hard to understand.

The CSS leads to the same problems.

#webdesign #web #frontend #programming #javascript #webdev #cascade #oop #objectorientedprogramming #inheritance #css #thecascade

Last updated 1 year ago

Luisa Donato · @Luisa_Donato
627 followers · 318 posts · Server hachyderm.io

Important OOP Concepts

(credits : ByteByteGo)

#oop #objectorientedprogramming #java

Last updated 1 year ago

Mark Gardner โ€:sdf: · @mjgardner
601 followers · 3332 posts · Server social.sdf.org

@sullybiker is also going another phase of exciting improvements lately. Experimental features like subroutine signatures and postfix dereferencing are finally stable and misfeatures are being deprecated or forbidden. And there are entirely new experimental features being worked on, including a modern syntax and paradigm being built into the core language.

#perl #objectorientedprogramming

Last updated 1 year ago

Tech news from Canada · @TechNews
426 followers · 11567 posts · Server mastodon.roitsystems.ca
Stephen Gruppetta · @s_gruppetta
404 followers · 114 posts · Server mas.to

Sometimes you need a different type of project to get your coding fingers going

Seeing how a 'simple' 2D game is built step-by-step is an important reminder of how all projects need to be built in stagesโ€ฆ

โ€ฆthe good thing about this one is that you can represent the steps visuallyโ€ฆ

The full story behind this game is in this article:

thepythoncodingbook.com/2023/0

#oop #objectorientedprogramming #coding #programming #turtle #Python

Last updated 2 years ago

· @llewelly
325 followers · 16957 posts · Server sauropods.win

@clacke @atomicpoet @patrick @antonioyon @playdate @panic

When we need a fancy word
for a not-so-fancy thing
we call it an "instance"
and instantiate the thing

Our exegesis full
of involute meanings
and abstract implications
or so the voices tell me

Our jargon fills a need;
with agility extreme,
we object to the memory
of a pre-object world
which vanished long before
most of us were born


#lyrics #objectorientedprogramming

Last updated 2 years ago

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.

#objectorientedprogramming #programming #java #programminglanguages #oop

Last updated 2 years ago

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.

#softwaredevelopment #designpatterns #java #python #oop #objectorientedprogramming #functionalprogramming

Last updated 2 years ago

Alex · @alexl
17 followers · 26 posts · Server pkm.social

While refactoring my personal I asked what's the relation between and .

I was expecting something in the line of opposition and alternative. But it replied "complementary".

Clever!

#knowledgegraph #chatgpt #objectorientedprogramming #functionalprogramming

Last updated 2 years ago

Tech news from Canada · @TechNews
135 followers · 2998 posts · Server mastodon.roitsystems.ca
Tech news from Canada · @TechNews
113 followers · 2345 posts · Server mastodon.roitsystems.ca
Tech news from Canada · @TechNews
84 followers · 1826 posts · Server mastodon.roitsystems.ca

Started building a space colonisation game in as a learning exercise in . Prepare for serious scope creep and dodgy inheritance patterns.

Currently I am reading the three body problem which is quite interesting. It sort of has cosmic horror elements in my opinion but it does help if you have a working understanding of 20th century physics ^^ Nothing complex just watch a documentary or two.

#csharp #objectorientedprogramming

Last updated 2 years ago