#ObjectOriented

Alexandre B A Villares šŸvillares@ciberlandia.pt
2025-04-30
2025-04-07

I've hit upon a new kind of Liskov Substitution Principle in #Programming.

"If I substitute Barabara Liskov for myself, right here in this chair, do I still call this cruft, and the language it is written in, #ObjectOriented ?"

khushnumakhushnuma
2025-03-12

šŸ” Object-Oriented vs. Conventional Software Testing šŸ–„ļø

Object-Oriented Testing focuses on testing objects and classes, checking how they interact, and ensuring proper behavior in unit tests.

Conventional Testing is more system-centric, focusing on testing individual functions and modules, often through manual tests.

Read more: khushi-47158811.hubspotpagebui

Kerrick Long (code)kerrick@dotnet.social
2025-03-01

I’m currently reading Extreme Programming Explained 2e (Beck et. al), Object Thinking (West), and Object-Oriented Analysis and Design With Applications 3e (Booch et. al). The contrast between OT and OOADwA is startling. OT got me reading eXPE, and I regret not reading it sooner. Am I destined to say that about every Beck book I read?

#Reading #Books #Programming #OOP #XP #Agile #SoftwareEngineering #Analysis #Design #ObjectOriented

Shakthi Kannanshakthimaan
2025-01-24

European Conference on Object-Oriented Programming (ECOOP) 2025 will be held at Western Norway University of Applied Sciences 30 June-4 July 2025, Bergen, Norway 2025.ecoop.org/

2025-01-21

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:šŸ’•

#Kitten #SmallWeb #SmallTech #StreamingHTML #objectOriented #eventBased #hypermedia #htmx #WebSocket #HTML #JavaScript #CSS #NodeJS

2025-01-16

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

#Kitten #StreamingHTML #SmallWeb #htmx #hypermedia #WebSockets #web #dev #eventDriven #objectOriented #JavaScript #NodeJS

Screenshot of code. The showPageEvent method is highlighted.

  onAddToPage () {
    this.addEventHandler(kitten.events, `kittenPageEvent-${this._page.id}`, this.showPageEvent)
  }

  /**
    Stream new page event details to top of the events list,
    hiding the placeholder if necessary.

    @param {{
      name: string,
      data: {HEADERS: any}
    }} event
  */
  showPageEvent (event) {
    delete event.data.HEADERS

    // Hide placeholder if necessary.
    if (this.placeHolderIsVisible) {
      this.page.send(kitten.html`
        <tr id='placeholder-${this.id}' swap-target='delete'>
      `)
      this.placeHolderIsVisible = false
    }

    // Send the new event row with event details.
    this.page.send(kitten.html`
      <tbody id=${this.id} swap-target='afterend:#${this.id}'>
        <tr>
          <td>${event.name}</td>
          <td>${util.inspect(event.data)}</td>
        </tr>
      </tbody>
    `)
  }
}

class Pages extends kitten.Component {
  html() {
    // We could just display a ā€œloadingā€ message here
    // as we’re going to refresh the list at onConnect(),
    // but given how fast it all happens, we might was well
    // send the whole list instead of having an odd flash.
    const pages = Object.values(kitten.pages)
The Last Psion | Alexthelastpsion@oldbytes.space
2024-10-28

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.)

#RetroComputing #EPOC16 #CDECL #Clarion #TopSpeed #TopSpeedC #RetroProgramming #RetroDev #Smalltalk #ObjectPascal #preprocessor #Eiffel #OOP #ObjectiveC #compilers #ObjectOriented

Vivienne Dunstanvivdunstan@mastodon.scot
2024-09-26

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

In the DES examples I have seen, the style of programming looks similar to microcontroller event handling code.

I've spent a long time writing object oriented code and find difficult to follow event driven code.

#programming #objectoriented

2024-06-04

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

Pankaj Chouhanpankaj_str
2024-05-06

Unlock the power of Python's object-oriented programming with our latest tutorial on classes and objects! From understanding the basics to mastering constructors, dive deep into the world of Python programming. šŸāœØ

p4n.in/2024/05/05/python-class

Alex (moved to @alexmu@mastod)alexmu
2024-03-11

Bertrand Meyer's OOSC book is available for free on his website: bertrandmeyer.com/OOSC2/

Christos Argyropoulos MD, PhDChristosArgyrop@mstdn.science
2024-02-25

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.

2024-02-20

@jrthreadgill Hello :)

I follow the ones you mentioned, plus #amstrad, #bash, #linux, #python, #neovim, plus a bunch of machine learning and statistics ones. I've probably overlooked lots... #ObjectOriented... #FunctionalProgramming... #tdd...

I've found it useful to filter out hashtags/phrases I don't want to see. This made the biggest difference to my experience here. :)

Cogent Infotechcogentinfotech
2024-01-10

Explore the world of Java with our comprehensive guide on the String class! Discover its essence, creation techniques, available constructors, and powerful methods. Elevate your coding game with the nuances of string manipulation.

Blog - ow.ly/RYJL50Q0Z7p

The Last Psion | Alexthelastpsion@bitbang.social
2024-01-06

Were there ever any languages other than #ObjectiveC that combined C with a message-sending object system/runtime? Doesn't have to be #Smalltalk.

#oop #objectoriented

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst