takuma kakiuchi
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ## 注意事項 - 勉強会の様子はリアルタイム配信 & 後日編集した動画としてYoutubeにて公開させて頂きます - 顔出し NG の方は遠慮なくおっしゃってください - ゴミは各自で持ち帰ってください - 机の上のマイクが拾ってしまうので、机ゴンゴンしないでね ## お願い - ハッシュタグ `#ペチオブ` で勉強会の様子を X で post してね! - [Youtube](https://www.youtube.com/@miraito) のチャンネル登録もぜひ! ###### tags: `ぺちおぶ` ## 参加者 ## 雑談テーマ ### 設計をする上で何を基準 ( 優先順位 ) に実装するか - take Question - オブジェクト指向で実装する時に、どうメソッドを追加するか迷う - みんな機能追加ってどう考えてやってるの? - 正解ってないよね、じゃあ基準はなんなの? Discussion - 単一機能/単一クラスってやつじゃね? - 保守性は考えた方がいいよね - デザインパターンとか MVC とか CQRS とか、いろいろなパターンに沿って作ることが多いな - 設計ってルールのテンプレなんだよ - なんでそうするか、メリデメやトレードオフはなにか、それを考えるのが大事 - 書いたコードを自分で言語化 / 説明できることが大事だと思う - メソッドを書き足す時に、もともとあるクラスのプロパティで行えるかは目安になりそう - これを凝集度っていう - 大事なのはデザパタを使うことではなく、なぜそうしたか考えることと理解すること ### クラス設計どう練習するか - たかてぃ Question - 手に馴染まないと本番で使えないよね、みんなどうしてるの Discussion - 書くしかない - 「業務の中でツールを作ってみる」みたいにタイミングを作ることができるかも - 趣味プログラミングするとか - 自分の知ってるコードをデザパタでリファクタしてみるとか - 苦しさとか痛みを感じた時に学びを得る - 書きながら考えてるとごちゃっとしちゃうので、そういうときは一回立ち止まって整理する - 一発で満点を求めない - 設計と実装を分け、それぞれを最後までやりきりそれぞれにちゃんとフィードバックを反映する - 練習なんだし、最後まで書こう ### 設計を気にし始めたきっかけは - たかてぃ Question - 苦しんだタイミングがきっかけになると思うんだけど、みんなどんな感じだった? Discussion - 既存コードの設計に苦しめられた - レビューしなきゃいけないタイミングで設計力が求められた - 「なんとなく悪そう」を言語化できなければならないと感じたとき - 転職して新しいアーキテクチャ ( DDD ) に触れたとき - 自社サービスを拡張する時に品質やスピードを求めたいから - 改修するとき全く関係ないと思ったクラスを変更しなければいけなかったとき - 書けば動くけど正解なのかがわからなくてもやっとした ### システムはすべて設計だ - 白柳隆司 Question - 「設計」ってどこのこといってるの? - 要件定義から実装テストまで全部設計じゃね Discussion - ### そもそも詳細設計ってなんで必要なのだろうか? - トミー Question - やってよかったと思ったことは? - 上流だけが設計して下流だけが書くけど、お互い知見がたまらないし、意味ないのでは - イメージしてる詳細設計 - e.g. API のドキュメント - e.g. シーケンス Discussion - API ドキュメントはインターフェースの約束が書いてあるので、実装がなくてもクライアント側が実装を始めたりなど分業ができる - どういうものをどう言う規模で作るかも関係するよね - 金融とか、軍事関係とか - 5 ~ 10 年で開発保守するとか - 納品物に定義されていることもあるよね - レビューの回数と目的を分けられるよね - コードレビューで設計レビューするの辛い / 混ざる - 「詳細設計が必要か」と「ドキュメント化が必要か」は別っぽいね - API の In/Out だけ決めても、そのデータが何であるかは端的に示していない - 出所となるテーブルや変換ルールなどは In / Out 構造だけではわからない - ウォーターフォールとかでは、機能追加や仕様変更する際に、詳細設計があれば事前に影響の有無を調査できる ### 要件定義と概要設計と詳細設計の違いってなに - 横路 Question - 要件定義はよく聞く - 概要設計と詳細設計の違いはよくわからん - ディレクターやプロマネはそれぞれどこまで理解してるとよさそう? Discussion - 要件定義 - お客さんがなにをしたいか整理する - どう実現するか合意を取る ( ヒヤリングを繰り返す ) - 合意形成のためのドキュメントが生まれる - 概要設計 - どういうシステムになるか具体的にしたものが概要設計 - ここくらいまでお客さんと合意を取る - 詳細設計 - ここから先は実装側が実装できるためのもの - ビジネス的な合意は要件定義と概要設計 - 実装のために詳細設計 - 概要設計はハードウェア、詳細設計はソフトウェア、というイメージだった - 概要設計 ( ハードウェア / 外部サービス / 連携サービス ) はお客さんと合意必要だと思うから - 要件定義ではシステムの使い方や運用についても考えてお客さんと合意する ### 設計に関するおすすめの本を知りたい - YouTube Comment Discussion - [良いコード/悪いコードで学ぶ設計入門―保守しやすい 成長し続けるコードの書き方](https://amzn.asia/d/hRhwRCL) - [アジャイルソフトウェア開発の奥義](https://amzn.asia/d/5Y2LBnD) - [現場で役立つシステム設計の原則 ~変更を楽で安全にするオブジェクト指向の実践技法](https://amzn.asia/d/9yfKrXu) - [解説動画](https://www.youtube.com/watch?v=MXNp8AbKQUk&list=PLyZRat-0ugZiGsplrV6ExEruIVMPll3c-) 出してます!よければ見てね - https://www.youtube.com/watch?v=MXNp8AbKQUk&list=PLyZRat-0ugZiGsplrV6ExEruIVMPll3c- - いろんな言語のポケットリファレンスみたいなやつ ( スニペットみたいなやつ ) - [Clean Architecture 達人に学ぶソフトウェアの構造と設計](https://amzn.asia/d/0XEVDEm) - [ブラック・ジャック](https://amzn.asia/d/bAwEFEf) - [ドメイン駆動設計入門 ボトムアップでわかる! ドメイン駆動設計の基本](ドメイン駆動設計入門 ボトムアップでわかる! ドメイン駆動設計の基本) ### ( GoF の ) デザインパターンって何を勉強したらいいの - take Question - システム開発って型があるよって話だったのでデザパタ学んだらいいのかなって思った - じゃあどういう風に学べばいいか - デザインパターンって言語に左右されないの? Discussion - [Java言語で学ぶデザインパターン入門](https://amzn.asia/d/2LFnOpk) - デザパタは基本的に言語には左右されない - [ちょうぜつソフトウェア設計入門――PHPで理解するオブジェクト指向の活用](https://amzn.asia/d/2ju1cyo) - デザパタ勉強するとインターフェースのありがたみがわかる - コーディングではなくて図やこれが何を解決しているのかを考えることが大事 ### 実装っていろいろな形があって知識がないと選別が難しい - take Discussion - 中途参加のプロジェクトだとルールがあるはずなのでそれに従うしかない - どうやったら自力でできるようになるかという意味であれば - 自分の実装の理由を自分で説明できるか考えてみるといい - 形で覚えていると選べるようにならない - 全行一字一句説明できるように意識していくと理解が深まる ### 経験がない人をインターンさせるかさっと判断できるのか - 横路 Question - これは読んでないとだめでしょ、みたいなのあったら知りたい - 自社にエンジニアがいないので選別ができない Discussion - ~~自社エンジニアに GitHub リポジトリみてもらうとか~~ ## 告知 アンケートは[こちら](https://www.noway-form.com/ja/f/afaf2623-3b77-4d73-9293-79ca14938511)からお願いします。 次回の勉強会 https://phper-oop.connpass.com/event/318395/

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully