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
83
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.7k
ドリコム若手発表会
ogidow
0
580
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
KATA
mclloyd
29
14k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
BBQ
matthewcrist
85
9.3k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Building an army of robots
kneath
302
43k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The World Runs on Bad Software
bkeepers
PRO
65
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Raft: Consensus for Rubyists
vanstee
136
6.6k
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Ͱॻ͍͍ͯ͘ ͧ
͋Γ͕ͱ͏͍͟͝·ͨ͠