eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

196
active users

#oop

0 posts0 participants0 posts today

For my next #Perl #blog post, should I write about:

* Util::H2O::More as an alternative to Moo for #OOP modulinos, or
* Log::Any to log to the #Apple #macOS unified logging system?

Some background:
* Moo with modulinos: phoenixtrap.com/2025/08/03/moo
* Util::H2O::More: metacpan.org/pod/Util::H2O::Mo
* Log::Any: metacpan.org/pod/Log::Any
* Apple’s unified logging system: developer.apple.com/documentat

The Phoenix Trap · Lightweight object-oriented Perl scripts: From modulinos to moodulinosDeveloping a complex Perl script that needs just a llittle object-orientation? Try the modulino pattern alongside the lightweight Moo module.

Hello #RStats ! I'm facilitating a new free @DSLC Advanced R adv-r.hadley.nz cohort soon! It's been 5+ years since I read this excellent book by @hadleywickham , so I'm giving it a re-read. Let's learn to embrace {{ tidy evaluation }}, purrr::reduce() repetition, and count S/R #OOP systems!

Join the DSLC.io Slack, then navigate to the #bookclub-advr channel!

BTW, I plan to cover {{ and #S7 in the club, even though they didn't make it into the book!

dslc.iodslc.io
Continued thread

I also got experience with the following (5 = a lot, 1 = a little) :

#machinelearning #ml (3) (I have implemented some ML models myself in the past, for learning purposes.)
#guix (3) (Using it for reproducible setups of projects.)
#functionalprogramming #fp (5) (Doing it in my own projects.)
#objectorientedprogramming #oop (4) (last job and past xp in my own projects.)
#CI / #CD (3) (Last job)
#make (4) (using it for my own project setups and convenience)
#testing (4) (last job, own projects)

The LOOPS primer, published in 1987, captured well the essence of exploratory programming in Lisp:

The LOOPS interface provides both a programming tool and a thinking tool. As you develop a new system, each preliminary version provides an object for thought and discussion. The preliminary versions are a crucial part of the design process.

LOOPS (Lisp Object-Oriented Programming System) is the OOP extension of Interlisp.

bitsavers.org/pdf/xerox/interl

#commonLisp #programming #amop #mop #metaobjectProtocol #exercise #closette #learnToCode (my own experience) #oop
screwlisp.small-web.org/amop/e

Today I simply share and solve (hopefully!) The Art of the Metaobject Protocol exercise 1.1

(the softball generic classes #memoization exercise from chapter 1)

I just added a lexical closure of hash tables.

@simoninireland wrote about the art of the metaobject protocol in his #lisp bibliography a year ago. simondobson.org/2024/07/23/the

screwlisp.small-web.orgArt of the metaobject protocol Exercise 1.1: Memoize Closette apply-generic-function

So, despite all the #abuse, let me be "un-#humble" for a moment longer, and say this: everyone who truly wants to understand #OOP in such languages such as #Java, #csharp, #python etc. and is not satisfied with current explanations of how to do OOP and struggles with whether to use basic functions, or is annoyed by arbitrary numbers for boundaries for "clean" #code, etc.

These offer a different view, trying to incorporate more aspects:
- dannyvanheumen.nl/post/enginee
- dannyvanheumen.nl/post/enginee

dannyvanheumen.nlEngineering: The “minimal-objects” approach to OOP · Timelessness

New Kitten Release 🥳

kitten.small-web.org

(Run `kitten update` to update your dev machines. Production machines will automatically update in a couple of hours.)

• You can now add a generic script block to your markdown pages (see mastodon.ar.al/@aral/114432417)

• Markdown pages can now be `KittenPage` instances and attach `KittenComponent` instances (so you get a full server-side component hierarchy with an event-based workflow; ideal for authenticated pages where you can be use only the author of the page will be accessing them and thus the additional memory and processing overhead are not issues. Isn’t the Small Web great? Only having instances of one makes it possible to optimise so many things for the human experience instead of vertical scale of the data farming machine.)

• Two new examples showcase the new features: codeberg.org/kitten/app/src/br and codeberg.org/kitten/app/src/br

• Attributes with object values are no longer serialised into the DOM (but your components’ render functions will continue to receive them, of course.) This is because only string values make sense for attributes in the context of the HTML DOM. (You can still, of course, have stringified representations of objects in attributes, as used by the `data` attribute to pass data from nodes to event handers on the server.)

kitten.small-web.orgKitten: Home