mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

591
comptes actifs

#ObjectOriented

0 message0 participant0 message aujourd’hui

#programming #objectOriented #commonLisp #engineering #ChineseChess screwlisp.small-web.org/common

This is extracted from my rejected experience report for #ELS2025 about a GUI chess app for a library club. I gradually build up from this part I mixins that result in substantively differently behaviours depending on where and what they get mixed into.

#emacs #eev of course.

I am still alive!

Suite du fil

Little preview video: Kitten’s improved component model

• Class-based page routes and components
• Object-oriented
• Event-based
• Seamless hypermedia-driven WebSocket-based event mapping and interface updates (Streaming HTML)
• A light server-side live component hierarchy with event bubbling
• Almost as if you’re building a desktop or mobile app instead of a web app…

… another authoring simplification made possible because on the Small Web – which is a peer-to-peer web – you build a web app/site as a tool for one person (the owner of the site/app) instead of as a tool for you to farm millions of people.

… still experimental ;)

vimeo.com/1049055406

Learn more about Kitten:

kitten.small-web.org

If you like what you see and want us to keep existing, we could definitely use your support:

small-tech.org/fund-us/

:kitten:💕

Pretty soon, you’re going to be able to view your live pages and the events on them in real time while developing Kitten apps.

The improved component model with support for class-based routes (and a server-side component hiearchy that lets you build well-encapsulated components and pages and work in an event-driven way) is coming along nicely and I’m back to writing Place¹ using it.

(In the GIF, you’re looking at Place’s profile settings page. Not shown here but those profile changes reflect in realtime on all open pages. The highlighted piece of code is what streams the event details to the browser.)

¹ codeberg.org/place/app

Firing up #Inform7 on my #Mac to write another #interactiveFiction #game. Getting stuck into the prologue. This will be a much bigger game than I've written before, including 7 main sections in the #code. It is going to take some time. So best get on with it sooner rather than later! Excited to be back #coding. There's something magical about using this #declarative / #naturalLanguage / #objectOriented #programming language and IDE. #GameDev #IndieGame #TextGames #Parser #TextAdventure #Inform

Suite du fil

I'm also thinking of covering #ObjectOriented design in more depth, and I'd love to hear what aspects of OO design you think are most useful, particularly for students who are just coming out of a CS intro sequence (most notably, I'm not sure that a deep dive into something like patterns would be useful at this point in the curriculum)

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 #ObjectOriented systems (en.wikipedia.org/wiki/Multiple) have no such problem.

functional.cafe/@awkravchuk/11

en.wikipedia.orgEntity component system - Wikipedia

@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 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

GitHubv5.38.0: release branch by rjbs · Pull Request #21108 · Perl/perl5Par rjbs