Coder Social home page Coder Social logo

designpatterns's Introduction

designPatterns

Java言語で学ぶデザインパターン入門 という書籍を読み進めるにあたり, サンプルコードを swift に読み替えています.

各デザインパターン毎にディレクトリを配置し, playground で コードを記述しています. Xcode ≒ Mac 環境 でお試しください.

貢献

prefix

コミットメッセージに prefix をつけて下さい. 今後は Conventional Commits に従います.

  • feat SemVer の MINOR に相当します.
  • fix SemVer の PATCH に相当します.

破壊的変更

破壊的変更の際は コミとメッセージに footer をつけて下さい.

  • BREAKING CHANGE SemVer の MAJOR に相当します.

影響範囲

必要なら prefix の後に 影響範囲をつけて下さい.

  • prefix(影響範囲) 影響範囲 に関する prefix な 修正です.

その他の prefix

Angular のルールに触発され, 以下を使います.

  • docs ドキュメントの変更のみの時に使用します.
  • perf パフォーマンス向上の為の変更に使用します.
  • refactor 不具合修正修正でも機能追加でもないコード変更に使用します.
  • style: 空白調整などコードに意味のある変更をしない時に使用します.
  • chore ライブラリのインストールやコンパイルなどに使用します.

独自ルール

  • new 新しく playground を作成した時に使用します.
  • rename ファイルや変数名の名称のみの変更に使用します.
  • copy 何かをコピーした時に使用します.

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.