Giter Site home page Giter Site logo

Comments (4)

antoniolg avatar antoniolg commented on June 21, 2024

I had it that way at the beginning, but it was much more difficult to maintain. This book (and repository) has been updated on any new Kotlin release, and that implied modifying all the branches affected by language modifications. If there was a change in one of the first commits, I had to redo the main branch and all the secondary branches, which was a painful job and didn't provide any big advantages.

You can checkout individual commits and have the same result, and it's really easy from Android Studio "version control" panel.

from kotlin-for-android-developers.

shekibobo avatar shekibobo commented on June 21, 2024

You could also tag the commits for each relevant chapter to make them easier to check out from local source control:

git checkout <commit>
git tag chapter-01
git push --tags

from kotlin-for-android-developers.

antoniolg avatar antoniolg commented on June 21, 2024

If you think it's useful, that would be easy. But all the commits are relevant, because there's one commit per chapter, so not sure it would add much simplicity.

from kotlin-for-android-developers.

shekibobo avatar shekibobo commented on June 21, 2024

it's just one less step if I want to skip between chapter code, rather than looking up the commit and checking it out, I could just checkout chapter-10. Predictable. However, if you rewrite the whole repo when there are updates, you'd need to redo the tags on the new commits and force push them. So that's an extra step on your part. Just a suggestion. Thanks for the great introduction!

from kotlin-for-android-developers.

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.