Readit News logoReadit News
beagle3 commented on Surface Tension of Software   iamstelios.com/blog/surfa... · Posted by u/i8s
i_am_a_peasant · 3 days ago
what is it with this take that oop is dead… even the linux kernel heavily uses OOP.

inheritance is what has been changing in scope, where it’s discouraged to base your inheritance structure on your design domain.

beagle3 · 3 days ago
OOP is different things to different people, see e.g. [0]. Many types of OOP that were popular in the past, are, indeed, dead. Many are still alive.

[0] https://paulgraham.com/reesoo.html

beagle3 commented on Surface Tension of Software   iamstelios.com/blog/surfa... · Posted by u/i8s
BSTRhino · 3 days ago
Make your invalid states unrepresentable
beagle3 · 3 days ago
Indeed. But ... do not confuse your model with reality.

There's a folk story - I don't remember where I read it - about a genealogy database that made it impossible to e.g. have someone be both the father and the grandfather of the same person. Which worked well until they had to put in details about a person who had fathered a child with his own daughter - and was thus both the father and the grandfather of that child. (Sad as it might be, it is something that can, in fact, happen in reality, and unfortunately does).

While that was probably just database constraints of some sort which could easily be relaxed, and not strictly "unrepresentable" like in the example in the article - it is easy to paint yourself into a corner by making a possible state of the world, which your mental model dims impossible, unrepresentable.

beagle3 commented on Tiny Core Linux: a 23 MB Linux distro with graphical desktop   tinycorelinux.net/... · Posted by u/LorenDB
maccard · 11 days ago
A single 1920x1080 framebuffer (which is a low resolution monitor in 2025 IMO) is 2MB. Add any compositing into the mix for multi window displays and it literally doesn’t fit in memory.
beagle3 · 11 days ago
The Amiga 500 had high res graphics (or high color graphics … but not on the same scanline), multitasking, 15 bit sound (with a lot of work - the hardware had 4 channels of 8 bit DACs but a 6-bit volume, so …)

In 1985, and with 512K of RAM. It was very usable for work.

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

beagle3 commented on SVG.js v3.2   svgjs.dev/docs/3.2/... · Posted by u/eustoria
emil-lp · 24 days ago
Anyone know a Python library for manipulating SVG images?
beagle3 · 24 days ago
Not what you asked for, but something you might find useful: https://github.com/andy31lewis/brySVG

A great SVG kit for Brython (browser Python)

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

u/beagle3

KarmaCake day16599June 20, 2009View Original