Coder Social home page Coder Social logo

Structure changes about apple-signin-auth HOT 5 CLOSED

a-tokyo avatar a-tokyo commented on August 21, 2024 1
Structure changes

from apple-signin-auth.

Comments (5)

NitinHsharma avatar NitinHsharma commented on August 21, 2024 2

Thanks for giving reference of monofile project. I read the topic with a lot of public opinions and before is the mini list of pros and cons

Pros

  • Easier to kick start
  • faster rollout for the initial phase
  • easy to understand the whole logic in a single file by what to do and what not to. (by this you do not need to move from one file to another while going through code in initial stage)
  • normally do it for POCs

cons

  • Problem in maintaining the code in the long run
  • difficult to understand the solution for peers
  • changes may cause conflicts in the merge
  • Normally do it for maintaining the project for a long time with many contributors

And many more pros and cons.

from apple-signin-auth.

nikonhub avatar nikonhub commented on August 21, 2024 2

Thank you for giving me credit on it 😂

from apple-signin-auth.

a-tokyo avatar a-tokyo commented on August 21, 2024 1

@NitinHsharma Quite a nice analysis! ( :

So let's close this for now and reopen it once the project scales a bit? thoughts? 🚀

(Feel free to reopen!)

from apple-signin-auth.

a-tokyo avatar a-tokyo commented on August 21, 2024 1

Ooopssss! 😂 Thanks for bringing to my attention, fixed!

Special thanks to the awesome @NitinHsharma 🚀

from apple-signin-auth.

a-tokyo avatar a-tokyo commented on August 21, 2024

Hey @NitinHsharma! Thank you so much for your proposal! Really nice notes you got there.

Generally I am a fan of modularization, however, recently Getlify and Dan Abramov brought up a very nice topic about how monofile projects are much easier to manage at the beginning since they focus on the core functionality. They both agreed, and I do as well, that one should start modularizing when one feels the monofile would grow out of hand.

What are your thoughts on this? 🚀

NOTE: Generally I use a similar structure to you mentioned, however I noticed that with this specific project monofile is so much easier to manage. (specially if we decide to move to typescript)

Your input is highly appreciated!

from apple-signin-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.