66

I heard often about activityPub being challenging to implement.

Now I know part of this is because, if you are building on activityPub, you want interop with existing platforms such as mastodon, and they do their own thing.

But ignoring that aspect, what is so hard about activityPub? What could have been done better?

I am a software developer, so feel free to use software dev concepts and terms when explaining. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] JackbyDev@programming.dev 2 points 2 months ago

Not even more than ~one page in and I see this

IntransitiveActivity

Inherits all properties from Activity except object.

??? That's not how inheritance works in any language I've worked with lmao. One of the most basic types in the language and I'm already debating the pros and cons of different designs. Should I make the inheritance work with the type system and just return null for or should I add my own dummy types that aren't in the spec so that it's impossible to get an object property from IntransitiveActivities?

this post was submitted on 02 Sep 2024
66 points (94.6% liked)

Fediverse

28503 readers
115 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS