Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/generate-link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Generate markdown link

on:
workflow_dispatch:
push:
paths:
- main

jobs:
Generate-Markdown-Link:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Generate markdown link
working-directory: ./docs
run: |
# TODO: 書く

- name: Push
run: |
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add docs/README.md
git commit -m "Generate markdown link"
git push origin HEAD:${GITHUB_REF}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- 参考: https://inside.dmm.com/entry/2018/10/02/rindokukai



## ❓問いリスト❓

- 「オブジェクト」とは?
Expand Down
Empty file added docs/.nojekyll
Empty file.
23 changes: 23 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ドキュメント一覧

- section01
- [naoya.md](/section01/naoya.md)
- section02
- section03
- section04
- section05
- section06
- section07
- section08
- section09
- section10
- section11
- section12

## ❓問いリスト❓

- 「オブジェクト」とは?
- 状態と操作をまとめたもの
- Q. クラスとはどう違うの?
- A. クラスはオブジェクトを作る手段の一つであって、オブジェクトすべてを表現していない
例えば、JavaScriptでは`class`を用いずともオブジェクト`{}`は作れる
22 changes: 22 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: '',
repo: ''
}
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions section02/matumoto.md → docs/section02/matumoto.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

三大要素とは?

<!-- クラスを消す -->
- クラス(カプセル化)
- ポリモーフィズム
- 継承
Expand Down Expand Up @@ -61,6 +62,8 @@ class Dog {

みたいになるとうれしいねという話

<!-- 比喩の話から抜け出てないので、それものせるべき -->

#### ポリモーフィズムのプログラミング的な説明

<details> <summary>動物クラスの実装</summary>
Expand Down Expand Up @@ -112,6 +115,7 @@ class Cat extends Animal {
たぶん本題(おまけ)みたいな文量なんですけど

- オブジェクト指向と現実は切り離そう!
<!-- オブジェクト指向と現実を切り離す、その心は? -->
- 比喩を強調しすぎるな!
- そもそもソフトウェアは現実世界をそのまま表現しない!
- 現実世界と似ていることが世界を広げちゃったねえ
Loading