22 karma · joined Aug 14, 2023 (3y ago) · 9 submissions
comment 10mo ago · link · parent
However, the way I saw SDL 1.x, I am expecting a strong contract. Every now and then SDL drops support for one thing or another. Where you had to worry about different APIs, now if you want to retain your strong contracts, you have to worry about different SDL versions. I am aware of something like the "sdl12-compat" layer for example, somewhat similar to JQuery Migrate, but it does not change the fact that the underlying contract is not strong, is not trustworthy, because of both changing APIs and changing compatibility, similar to the JQuery situation.
comment 10mo ago · link · parent
Take a careful look at "http://eyeandtea.com/crxcmp", and see how the need for shadow DOM is completely absent.
And this simple thing is just one of the geniuses exposed by JQuery.
comment 10mo ago · link · parent
Having said that, after JQuery 1.x, and in particular, the changing, the deprecating, and the dropping of things here and there, JQuery no longer made sense. Somewhat similar to the SDL situation in the C/C++ word. An important role of JQuery, similar to SDL, was a strong code contract before anything else, and if the developer now has to account for JQuery's version differences like having to account for browser differences, what is the point.
comment 2y ago · link · parent
and in particular,
http://eyeandtea.com/crxoop/v2/ch01/03
for the documentation of CrxOop. It is just the OOP part of what you see here
comment 2y ago · link · parent
https://old.reddit.com/r/javascript/comments/9vuwe3/crxcmp_s...
Link in the main comment in that thread. The library unfortunately was never released open source for reasons that are clear in that thread.
comment 2y ago · link · parent
React is just another example of how rot takes over what is good. And people confuse loud with popular, popular with good, easy with simple, and tedious with merit.