1736
Sync for Reddit is dead, long live Sync for Lemmy
(lemmy.world)
👀
Welcome to the official Sync for Lemmy community.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
1- No advertising or spam.
All types of advertising and spam are restricted in this community.
Artwork and community banner by: @MargotRobbie@lemmy.world
Exciting! Are you starting from scratch or are you able to copy portions from the old code over?
Pretty sure a lot of the boiler plate code would be the same like upvote/downvote, etc.
Just that instead of telling reddit that user pressed upvote, now the app needs to tell lemmy.
Yeah, probably. Although I know with APIs it's not always as easy because one uses HATEOAS, the other's entities look entirely different and stuff like that. Just curious whether the data structure is roughly the same, I never looked at Lemmy's Code or the Reddit API
It would be in lemmy's best interests to make their APIs as close to reddit ones as possible.
It's a little late for that, Lemmy's API is mostly in place and already being used.
Exactly the UI and the model/backend are properly separated if it follows a design pattern like MVC. So it would be pretty trivial to replace the Reddit API calls with Lemmy API calls. Except for the things that don’t exactly translate one on one.
Man. You are way more optimistic about the promises of MVC than I am. Yes it can definitely make things easier for a transition like this but I would not call it trivial.
Famous last words calling something trivial in engineering. But if there’s anyone that can it’s our man ❤️