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
🧿 thgs · @thgs
110 followers · 480 posts · Server phpc.social

Static constructors or a factory class? Which one you tend to prefer.

The factory method, as a pattern seems convenient for me as you can have a private constructor and guard different ways to construct an object with a different static method. However, factory method is meant for subclassing.

On the other hand, a factory, in some cases will leave unguarded the constructed object.

Feel free to elaborate on why.

#php #oop #software #design #softwareengineering

Last updated 1 year ago

Dariusz Gafka · @dgafka
5 followers · 8 posts · Server phpc.social

The YOLO Message-Driven architecture became a standard way of doing Messaging and is pretty straight forward to follow. Yet it does not follow the basics rules of Messaging

medium.com/@dariuszgafka/yolo-

#php #messaging #eda #oop

Last updated 1 year ago

from the lovely people at Valancourt who truly do the world a service by reprinting some fabulous and sometimes long OOP books.
These are the two newest from Thomas Tessier and they look fantastic. Should be able to get to them in November (hopefully, haaaa) but for now they look right at home amongst my other vintage paperbacks and PFH.

@bookstadon @horrorbooks

#bookmail #paperbacksfromhell #vintagepaperbacks #oop #reissues #neweditions #thomastessier #valancourt #valancourtbooks

Last updated 1 year ago

Thomas Sandmann · @thomas_sandmann
366 followers · 1147 posts · Server genomic.social

Today I learned about latest object oriented programming system: S7. Coming from S4, it was a great experience requiring far less boilerplate code. Following in @jonthegeek 's footsteps, I documented my learning in a blog post: tomsing1.github.io/blog/posts/

#RStats #til #oop #programming #learning

Last updated 1 year ago

Dr J Rogel-Salazar · @quantum_tunnel
162 followers · 144 posts · Server me.dm

Reader Question: Python and Object Orientation

I have recently received an few questions from a reader of my books (yay!), Brett, and rather than providing a closed answer (or answers) I thought it may be useful to provide the responses in a blog post — who knows, maybe others have similar questions to Brett. I will be posting the responses in different posts, so keep in tune.

medium.com/@quantum_tunnel/rea

#python #programming #oop

Last updated 1 year ago

Knowledge Zone · @kzoneind
305 followers · 1780 posts · Server mstdn.social

Birth Anniversary of Sir Donald Bradman (1908) - widely acknowledged as the of all time.

made its closest approach to Earth in nearly 60,000 years (2003).

Birth Anniversary of Norwegian computer scientist Kristen Nygaard (1926) - co-inventor of object-oriented programming () and the programming language .

knowledgezone.co.in/news

#simula #oop #Mars #batsman #Greatest #onthisday

Last updated 1 year ago

· @user8e8f87c
215 followers · 5959 posts · Server berlin.social

Writing imperative code in is still so much nicer than in any imperative language. You have one simple flow of monadic function, all side effects are encapsulated. Feels a bit like the pipes in but without all of it disadvantages.

Sad thing about Haskell that it is so hard to understand first, but when you do everything is so simple and logically. The more I use it the more I love this beautiful language.

In the problems tries to solve are already solved by design.

#haskell #bash #fp #oop

Last updated 1 year ago

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

Arlo Godfrey · @Arlodottxt
256 followers · 60 posts · Server fosstodon.org

Been thinking of doing this and finally got something drafted up, thanks to some help from .

Presenting middleware for classes: github.com/Arlodotexe/brain-du

The "model plugin" system used in the Strix Music SDK allows developers to customize and enhance the SDK by wrapping around and overriding members of the sdk models.

The proposed source generator will generalize this concept and make it applicable to any class or interface.

#GPT4 #opensource #oop #dotnet

Last updated 1 year ago

jhx · @jhx
31 followers · 144 posts · Server mastodon.bsd.cafe

@zirias
Yes, coding is possible in plain for sure 😉
Google, MS and co are all doing things that should not happen at all... well, big tech 😬

is really nice wise.

Never had too much to do with ++
Had more to do with and
is a great language, it just was not for me, YMMV

Enjoying a lot to 😉

#oop #c #qt #gui #go #rust #python

Last updated 1 year ago

Felix Palmen 📯 · @zirias
36 followers · 153 posts · Server techhub.social

@jhx Probably not exactly a book ... I just use when I want to compile to native machine code 😎 and yep, is perfectly possible using -- just stay away from (certainly "possible" as well, but very cumbersome, and a questionable design anyways, I strongly believe in "composition over inheritance"). Should probably also have a look at some day (probably not , I'm very sceptical about anything Google these days ...)

I only use C++ when I have to, which is, in my case, when I want to have some "desktop" . IMHO, is the best toolkit for that, and it uses C++. At least, it works perfectly fine without exceptions (even disabling them at compile time with -fno-exceptions), so it's not *that* bad after all 🙈

#c #oop #polymorphism #rust #go #gui #qt

Last updated 1 year ago

Felix Palmen 📯 · @zirias
36 followers · 153 posts · Server techhub.social

@jhx You asked for it, so I'll answer it:

Imho, C++ design is broken from the very beginning. It wanted to provide language constructs, still maintaining full compatibility (which already failed many years ago, cause the languages took different roads).

It combines (IMHO generally a bad idea) with explicit resource management (an *awful* idea, forcing you to use which will in turn mandate creation of purely "technical" classes, just to manage resources).

It wanted , but that's impossible without breaking C compatibility, so it came up with , actually a on steroids.

Overloading also doesn't fit into the simple C library ABI (where symbols are named just like the function), so it came up with "name mangling" ... which is especially horrific because it is *not* standardized.

Ah well, I could go on 😂

#oop #c #exceptions #raii #generics #Templates #preprocessor #linker

Last updated 1 year ago

Curtis "Ovid" Poe · @ovid
915 followers · 2176 posts · Server fosstodon.org

Many questions have come up about the new `class` syntax for the latest release of the Perl programming language.

I wrote a FAQ: github.com/Ovid/Cor/blob/maste

Here's a short tutorial: gist.github.com/Ovid/4cc649c1e

#perl #oop #programming

Last updated 1 year ago

Eric Bednarz · @generic
63 followers · 165 posts · Server ruhr.social

Because of reasons, I just remembered my first agency job. Since didn’t have inheritance, classical was considered the indispensable bat belt that contained the solution to every possible problem. Because.

So the very senior developer who started along with me introduced as the first user code dependency to our first project:

THE SIMPLETON PATTERN

Hey Siri, repeat 1e10 times: 😅 😂 😁

#javascript #oop #programming #js #singleton #designpatterns

Last updated 1 year ago

Ted M. Young · @jitterted
787 followers · 1215 posts · Server sfba.social

Reminder that "setter" methods on Domain Objects break encapsulation and will make it hard to use and hard to refactor.

#oop #settersarestillevil

Last updated 1 year ago

Jonathan Hall · @jhall
100 followers · 370 posts · Server techhub.social

🦶🔫 Inheritence is a footgun that Go doesn't support.

I have come to love that Go does not support inheritence. While initially confusing for me, I now appreciate the simplicity this enforces.

Watch my full video: youtu.be/LltEsGFOASY

#go #golang #oop #inheritance #YouTube #Video

Last updated 1 year ago

dragonmantank :verified: · @dragonmantank
263 followers · 1835 posts · Server phpc.social

@Crell It’s also funny how many of the stated advantages that brings end up having so many caveats or get thrown out the window.

It’s such a great system no one follows the rules.

#oop

Last updated 1 year ago

Larry Garfield · @Crell
1233 followers · 5581 posts · Server phpc.social

The main argument for for a long time was that “it models the real world.” Which is so amazingly untrue in practice it’s almost comical. 🙂

#oop

Last updated 1 year ago