Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
勇気出してアウトプットしたらコメントをもらえて自分の理解が深まった良い話🤩
Search
Yumihiki
April 30, 2022
Programming
0
180
勇気出してアウトプットしたらコメントをもらえて自分の理解が深まった良い話🤩
エンジニアと人生LT会 #4
で発表した資料です。
初心者の方向けにアウトプットは良いよね!ってお伝えするスライドです。
Yumihiki
April 30, 2022
Tweet
Share
More Decks by Yumihiki
See All by Yumihiki
pathlibのススメ
nibuno
0
44
ノリと勢いで勉強会を共同主催しはじめた話
nibuno
1
360
LTってなんなん?
nibuno
0
130
【初心者向け】ググらずに!? ターミナル上で Pythonオブジェクトを調べよう
nibuno
0
490
テスト駆動開発のススメ
nibuno
2
21k
目標を決めるにあたって 新年の抱負 超LT会- vol.2
nibuno
0
370
パーフェクトPHPのススメ
nibuno
1
1k
Other Decks in Programming
See All in Programming
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
230
Unity Android XR入門
sakutama_11
0
180
自力でTTSモデルを作った話
zgock999
0
100
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the benefits are huge)
lmammino
1
150
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
コードを読んで理解するko build
bells17
1
110
Ruby on cygwin 2025-02
fd0
0
180
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
150
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
310
Boos Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
340
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
610
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
We Have a Design System, Now What?
morganepeng
51
7.4k
A Philosophy of Restraint
colly
203
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
Transcript
勇気出してアウトプットしたら コメントをもらえて 自分の理解が深まった良い話🤩 エンジニアと人生LT#4 2022/04/29 Yumihiki
なに喋るん? 1. 自己紹介 2. 結論 3. アウトプットした記事とその中身 4. まとめ
自己紹介 Yumihiki / Tatsuya NIBUNO パーソルテクノロジースタッフ株式会社 2020年2月に実務未経験から転職 エンジニア歴3年目 エセ関西人
結論 - アウトプットは大事 - マサカリを恐れてはいけない - コメントをもらうことで自分の理解が深まる
アウトプットした記事とその中身 - 記事 - Pythonのlist(配列)の挙動について - https://qiita.com/Yumihiki/items/ddac93a87c47bf373ae7 - Pythonのlistがちょっと思わぬ動きをするので解説した記事 -
元々は値渡しと参照渡しの話をするつもりだった - ちょっと紹介
アウトプットした記事とその中身 a = 1 b = a b = 5
# 出力結果 # a: 1 # b: 5
アウトプットした記事とその中身 a = 1 b = a b = 5
# 出力結果 予想通り🤗 # a: 1 # b: 5
アウトプットした記事とその中身 c = [1, 2, 3] d = c d[0]
= 100 # 出力結果 # c: [100, 2, 3] # d: [100, 2, 3]
アウトプットした記事とその中身 c = [1, 2, 3] d = c d[0]
= 100 # 出力結果 # c: [100, 2, 3] ← cの値が変わっている!?😲 # d: [100, 2, 3]
アウトプットした記事とその中身 - 整数はイミュータブル(値を変更できない) - listはミュータブル(値を変更できる) - 整数の場合はオブジェクト(変数)自体が別物 = 値が変わったように見えた -
listのコピーではなく、同じオブジェクトを参照する新しい変数の作成 - https://docs.python.org/ja/3/faq/programming.html#why-did-changing-list-y-also-change-list-x - 挙動について調べる中でPythonでは参照渡しが無いことがわかった - 元々は値渡しと参照渡しについて書く予定だった - 補足的な意味も兼ねてドキュメントを確認した上で記載した
アウトプットした記事とその中身 Qiitaの投稿内容(編集済みなので更新履歴から確認) 出社前に投稿した!
アウトプットした記事とその中身 出社後、早速1通のメールが📧
アウトプットした記事とその中身 (正直)一瞬焦った🙀 けれど、コメントをもらうことでより自分の理解が深まった! 他の言語の例や表現、参考リンクも教えてもらえた! ※コメントの1つ 「オブジェクトの参照渡し」は公式リファレンスから引用
まとめ - アウトプットは大事 勉強するきっかけになるから - マサカリを恐れてはいけない - コメントをもらうことで自分の理解が深まる ずっと間違ったり、微妙な認識のままで居続けることの方が怖いこと 無意識に苦手意識を持っている人がいたらアウトプットしましょう!
おしまい