Morning all, Just a quick update to say I’m making good progress with the development and we just hit 24k email signups!

Lj

  • glorious_albus@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • Deffi@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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

    • AshLassay@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      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.

      • bisq@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        Famous last words calling something trivial in engineering. But if there’s anyone that can it’s our man ❤️

      • Crackhappy@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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.