News for hackers. Stuff that matters.
Re:OOHtml – Object-Oriented HTML Implementation by MilStdJunkie on Tuesday February 13, 2024 @12:58AM (#39354936)
Do you know the line in that one Cake song, "bowel shaking earthquakes/of doubt . ."?

I don't have a quantitative reason for this feeling[1], but the idea of combining OOP principles - class, object, inheritance - with document markup gives me that feeling.

[1] I'd need to think about it for a second, but I am pretty sure that the root of this dread is the potential of a deep, deep pit-trap, where a class system runs parallel - but discrete - to the inherent semantics of HTML. But I'm not a big fancy-pants programmer. I'm sure my gut feelings can be safely discounted if this idea truly has some legs. I dunno. I like HTMX fine, but that's a different kettle of fish, isn't it? It's not got the same underlying notion of reification like OOP does. It's like the difference between a car with an automatic transmission option versus a car that has modular functionality that toggles whether or not a transmission is a thing or not, which may contain the quality of "automatic".

Re:OOHtml – Object-Oriented HTML Implementation by onionisafruit on Tuesday February 13, 2024 @01:10AM (#39355011)
I’m no poet, but I’m pretty sure this is what going the distance is about.