mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.5K
active users

#objectoriented

0 posts0 participants0 posts today

one aspect on the complexity of software projects is a complex graph of dependencies (I'm not thinking only to other packages, but class/module dependencies inside a single package/library).

Functional programming encourages to use really tiny and precise dependencies (i.e. functions) instead of collections of them (e.g. classes).

This makes the dependency graph more complex. Hence managing and organizing the dependency graph becomes harder.

Could this be a reason why in functional programming projects I tend to see less code organization than in OOP ones?

#programming #simulation (technically, an #objectOriented #simulation of an #ontology )

screwlisp.small-web.org/lispga

Last of my scrappy #gamedev where I spend more attention on introducing pieces of infrastructure for the first time than anything else.

Anyway, the simulation game is seen being both accessed and having commands sent to it from outside; the state-of-the-world is retrieved, and rendered (rendered in the sense of unicode characters being printed.

Tomorrow, more game-y.

#leonardoCalculus #Sandewall #programming #objectOriented #simulation #lisp #commonLisp

I feel like this article is one of those moments that is a monumental achievement for the writer themselves, but precedes adding glitzy picture making (which will eventually come too).

If you remember, I was recapitulating my somewhat failed #lispgamejam #gamedev . This time and in about half a week just now - I got the plant/insect/bird Breitenbergian Vehicle simulation workin'.

screwlisp.small-web.org/lispga

Satisfies in TypeScript

This is a post about one of TypeScript’s less common features: the satisfies keyword. It’s occasionally incredibly useful, and knowing how to properly wield it is a valuable trick to have up your sleeve. Let’s take a look!

🧑‍💻 frontendmasters.com/blog/satis

frontendmasters.comSatisfies in TypeScript – Frontend Masters BlogThe `satisfies` keyword allows you to assert that a certain value

#rstats hivemind assistance request: How to structure a program to change the algebraic properties of an arithmetic calculation independent of the structure of the calculation?

Continued thread

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

REPOST (JAN 2024): My first thoughts on #Psion's dialect of Object Oriented C for the Series 3 and related portable computers.

Includes the JPI/Clarion #TopSpeed #compiler, a proprietary preprocessor, the Eiffel programming language, and a handful of calling conventions.

Also, did somebody say Objective-C?

This is an old blog post from the beginning of the year. If you've been following my journey in recreating #CTRAN, this was written a week before I decided to take the plunge.

hackaday.io/project/161291-the

(Yes, I did say in the article that I definitely wouldn't be writing a compiler. I did say that.)

hackaday.ioBeginning OLIB: An entirely uneducated look at Psion's proprietary Object Oriented C | Details | Hackaday.io<blockquote><strong>Me: </strong>I could do with a quick win to get me going again.<br><br> <strong>Also me: </strong>I shall learn a proprietary object oriented dialect of C, where the only way to learn it is to plough through 1150 pages of documentation.</blockquote> <p>Psion doesn't have a formal name for the object oriented version of C that it created for EPOC16. I've been calling it "Psion OO C", but the main library that it uses is called <strong>OLIB</strong>, which contains the root class. The others are:</p> <ul><li><strong>HWIM: </strong>The OO graphics library</li><li><strong>FORM: </strong>On-screen formatting </li><li><strong>XADD: </strong>Additional graphics library for 3a onwards (but not the Series 3 "classic")</li></ul> <p>To Psion's credit, their OO ecosystem is well documented in the SIBO C SDK across 5 books (hence the 1150 pages mentioned above). Each of the libraries has its own, dedicated book. There's also an "Object Oriented Programming Guide" which acts as an introduction to the whole ecosystem. I don't have the latest versions of all of these books - they seem to be lost to time. But I have all the 3 and 3a features documented, plus (I think) all of the 3c/Siena extensions. (3mx-era EPOC16 remains sadly undocumented.)</p> <p>What's nice about Psion's approach to OO is that they assume no prior

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

I have a question for people with better theoretical background on #ObjectOriented #programming and especially for #CPlusPlus developers.

#askFedi #fediHelp Is the following pattern known and does it have a name?

I have a number of classes (call them C1, C2, etc) that all derive from the same class B. I have a superclass (template, actually) D that derives from C1, C2 etc. To have a single B, the standard solution is to go with virtual inheritance to close the diamond (so far, so good).

1/n

It is funny to watch #chatgpt4 hallucinate citations, or #copilot when it introduces subtle bugs when it is asked to rewrite code for variable types other than the original ones. #LLM s lack precision of expression, but they are great in generating voluminous imprecise BS.
Extremely precise constructs e.g. pointer arithmetic in #Clang / #assembly. But it has no problem building (#objectoriented) APIs with erroneous implementations. Text was built to make false promises after all.

A summary of my first impressions of #Psion's object oriented ecosystem for #EPOC16.

TL;DR: It feels janky, but I'm also a noob. Plus what about Objective-C?

I'm certain there's loads that I've missed with this. Do feel free to comment with constructive information.

#retrocomputing #retrodev #ObjectOriented #OOP #OO #ObjectiveC #programming #16bit #oldtech #smalltalk #epoc #psion3

hackaday.io/project/161291-the

hackaday.ioBeginning OLIB: An entirely uneducated look at Psion's proprietary Object Oriented C | Details | Hackaday.io<blockquote><strong>Me: </strong>I could do with a quick win to get me going again.<br><br> <strong>Also me: </strong>I shall learn a proprietary object oriented dialect of C, where the only way to learn it is to plough through 1150 pages of documentation.</blockquote> <p>Psion doesn't have a formal name for the object oriented version of C that it created for EPOC16. I've been calling it "Psion OO C", but the main library that it uses is called <strong>OLIB</strong>, which contains the root class. The others are:</p> <ul><li><strong>HWIM: </strong>The OO graphics library</li><li><strong>FORM: </strong>On-screen formatting </li><li><strong>XADD: </strong>Additional graphics library for 3a onwards (but not the Series 3 "classic")</li></ul> <p>To Psion's credit, their OO ecosystem is well documented in the SIBO C SDK across 5 books (hence the 1150 pages mentioned above). Each of the libraries has its own, dedicated book. There's also an "Object Oriented Programming Guide" which acts as an introduction to the whole ecosystem. I don't have the latest versions of all of these books - they seem to be lost to time. But I have all the 3 and 3a features documented, plus (I think) all of the 3c/Siena extensions. (3mx-era EPOC16 remains sadly undocumented.)</p> <p>What's nice about Psion's approach to OO is that they assume no prior