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
Gopher-dojo-lt.pdf
Search
ogidow
December 03, 2018
1
86
Gopher-dojo-lt.pdf
ogidow
December 03, 2018
Tweet
Share
More Decks by ogidow
See All by ogidow
minneにおけるGraphQLの導入事例
ogidow
0
1.2k
Elasticsearch勉強会
ogidow
0
2.8k
ドリコム若手発表会
ogidow
0
580
Featured
See All Featured
Music & Morning Musume
bryan
46
6.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
Building an army of robots
kneath
303
45k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
It's Worth the Effort
3n
184
28k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
We Have a Design System, Now What?
morganepeng
51
7.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
How GitHub (no longer) Works
holman
314
140k
Transcript
Ԯಊमଠ(.01FQBCP *OD (PQIFSಓ-5େձ 3VCZΤϯδχΞ͕(Pݴޠʹೖͯ͠ਏ͍ ͔Βָ͍͠ʹมΘͬͨॠؒ
ࣗݾհ wԮಊमଠ !PHJEPX w3BJMTͰ$UP$ͷ&$αΠτ࡞ͬͯ·͢ w3VCZྺ w(Pݴޠྺϲ݄ HPQIFSಓͷ՝࡞࣌ʹॳΊͯॻ͍ͨ
͢͜ͱ wSVCZͱҧ͍ͬͯਏ͍ͱࢥͬͨͱ͜ͱ wHPݴޠʹೖ͍ͯ͠Δ͏ͪʹHPݴޠָ͕͘͠ͳͬͨॠؒ
SVCZͱҧ͍ͯͯਏ͍ͱࢥͬͯͨ͜ͱ
͜Ε͘Β͍ݴޠϨϕϧͰ༻ҙͯ͠ΔΖ
ྫ͑ wྻ ͘͠εϥΠε ΛٯॱͰग़ྗ͢Δ
SVCZͩͱ array = ["hoge", "fuga", "foo"] p array.reverse
(Pݴޠͩͱ ۪ʹ࣮ package main import ( "fmt" ) func main()
{ arr := []string{"hoge", "fuga", "foo"} fmt.Println(reverseArray(arr)) } func reverseArray(arr []string) []string { maxLen := len(arr) res := []string{} for i := maxLen - 1; i >= 0; i-- { res = append(res, arr[i]) } return res }
͜͏͢Δ͔͠ͳ͍ͷ͔ʜ
HPʹJOUFSGBDFʹΑͬͯఔΑ͘நԽ͞ Εͨඪ४ϥΠϒϥϦ܈ͱϢʔβఆٛܕ͕ଘ ࡏ͢Δ
TPSU3FWFSTF
TPSU3FWFSTF wTUSJOHͷྻ ·ͨεϥΠε ʹJOUFSGBDF͕࣮͞Ε͍ͯͳ͍ͷ Ͱͦͷ··Ͱ͑ͳ͍
࣮͞Ε͍ͯͳ͍ͷͳΒ࣮ͯ͋͛͠ Εྑ͍͡Όͳ͍
None
wSVCZͷΑ͏ʹϓϦϛςΟϒܕ͕ͳΜ͔ศརϝιου͍࣋ͬͯΔͱ͍͏ ͜ͱͳ͍ wͨͩ५ͳඪ४ύοέʔδ܈͕JOUFSGBDFʹΑͬͯྑ͍ײ͡ʹநԽ ͞Ε͍ͯΔ wϢʔβఆٛܕͱ͍͏ڧྗͳݴޠ༷͋Γ࣍ୈͰेͳදݱྗΛ ൃش͢Δ
ʹ࣍ୈͰSVCZΑΓදݱྗ͋Δ ͷͰ
(Pݴޠָ͍͠Μ
ָ͍͚ͩ͠ͰऴΘΒͤͳ͍ͨΊʹ wͰ͖Δ͚ͩ(Pʹ৮ΕΔΑ͏ʹ͢Δ wۀͰඞཁʹͳͬͨπʔϧͱ͔Λ(PͰॻ͍͍ͯ͘ ͧ
͋Γ͕ͱ͏͍͟͝·ͨ͠