GithubHelp home page GithubHelp logo

rental's Introduction

コードで学ぶモデルのリファクタリング

ワークショップ用のサンプルコード

ワークショップの概要

コードのリファクタリングは、設計改善であると同時にモデルの改善活動です。 このワークショップでは、コードをリファクタリングとモデルの変化の様子を、手を動かしながら体験します。

環境と事前準備

説明は、IntelliJ Idea Ultimate版で行います。

この環境を持ち込める方は、持ち込みをお願いいたします。 このリポジトリの内容をダウンロードの上、ローカルでの動作確認をお願いします。

環境を持ち込めない方は、他の参加者の環境で協同作業をしていただく形になります。

IntelliJ Idea Ultimate版以外の環境を持込む場合も支障はございません。 但し、説明内容との差異や、操作方法についてのサポートはいたしかねますので、あらかじめご了承ください。

ワークショップの進め方

概要説明

モデルを3つの表現方法と、その組み合わせ方について、説明します。 (自然言語/クラス図/プログラミング言語)

(前半)サンプルコードの初歩的なリファクタリング

コードをわかりやすく改善するための、リファクタリングの基本を step by step でやってみます。

各stepごとに、リファクタリングの前と後で、モデルがどのように変化するかを確認しながら進めます。

(後半)より深い理解のためのリファクタリング

コードで明示的に表現できていない暗黙の業務ルールの発見と、明示的なコード表現にチャレンジしてみます。

初期のモデル

モデル

rental's People

Contributors

masuda220 avatar numamino avatar stgctkm avatar

Watchers

 avatar

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.