mirror of
https://github.com/vbatts/talks.git
synced 2025-01-07 14:27:08 +00:00
flatten folder
This commit is contained in:
parent
5783dd7f09
commit
ffd598d420
12 changed files with 15 additions and 12 deletions
|
@ -51,17 +51,17 @@ vbatts devel openshift docker
|
||||||
|
|
||||||
* fully qualified imports
|
* fully qualified imports
|
||||||
|
|
||||||
.code ./talk/imports.go /START1/,/STOP1/
|
.code ./imports.go /START1/,/STOP1/
|
||||||
|
|
||||||
* fast compiles
|
* fast compiles
|
||||||
|
|
||||||
(Perhaps other compilers are slow)
|
(Perhaps other compilers are slow)
|
||||||
|
|
||||||
.play ./talk/hello.go /START1/,/STOP1/
|
.play ./hello.go /START1/,/STOP1/
|
||||||
|
|
||||||
* defer
|
* defer
|
||||||
|
|
||||||
.code ./talk/good0.go /START1/,/STOP1/
|
.code ./good0.go /START1/,/STOP1/
|
||||||
|
|
||||||
* Garbage Collected
|
* Garbage Collected
|
||||||
|
|
||||||
|
@ -71,11 +71,11 @@ vbatts devel openshift docker
|
||||||
|
|
||||||
* simple exports
|
* simple exports
|
||||||
|
|
||||||
.code ./talk/good1.go /START1/,/STOP1/
|
.code ./good1.go /START1/,/STOP1/
|
||||||
|
|
||||||
* concurrency
|
* concurrency
|
||||||
|
|
||||||
.play ./talk/pingpong.go /STARTMAIN1/,/STOPMAIN1/
|
.play ./pingpong.go /STARTMAIN1/,/STOPMAIN1/
|
||||||
.link http://talks.golang.org/2013/advconc.slide Sameer Ajmani - Advanced Concurrency
|
.link http://talks.golang.org/2013/advconc.slide Sameer Ajmani - Advanced Concurrency
|
||||||
|
|
||||||
*
|
*
|
||||||
|
@ -123,7 +123,7 @@ Not Separate, but together
|
||||||
|
|
||||||
* build tags
|
* build tags
|
||||||
|
|
||||||
.code ./talk/tags.go /START1/,/STOP1/
|
.code ./tags.go /START1/,/STOP1/
|
||||||
|
|
||||||
or files with *_linux.go like suffix
|
or files with *_linux.go like suffix
|
||||||
|
|
||||||
|
@ -133,38 +133,41 @@ bit bucket
|
||||||
|
|
||||||
* channels
|
* channels
|
||||||
|
|
||||||
.play ./talk/ugly0.go /START1/,/STOP1/
|
.play ./ugly0.go /START1/,/STOP1/
|
||||||
|
|
||||||
* iota
|
* iota
|
||||||
|
|
||||||
.code ./talk/ugly1.go /START1/,/STOP1/
|
.code ./ugly1.go /START1/,/STOP1/
|
||||||
|
|
||||||
* for range
|
* for range
|
||||||
|
|
||||||
array (or string)
|
array (or string)
|
||||||
|
|
||||||
.play ./talk/primitive1.go /START1/,/STOP1/
|
.play ./primitive1.go /START1/,/STOP1/
|
||||||
|
|
||||||
* for range
|
* for range
|
||||||
|
|
||||||
map
|
map
|
||||||
|
|
||||||
.play ./talk/primitive2.go /START1/,/STOP1/
|
.play ./primitive2.go /START1/,/STOP1/
|
||||||
|
|
||||||
* for range
|
* for range
|
||||||
|
|
||||||
channel (like an iterator)
|
channel (like an iterator)
|
||||||
|
|
||||||
.play ./talk/primitive3.go /START1/,/STOP1/
|
.play ./primitive3.go /START1/,/STOP1/
|
||||||
|
|
||||||
* for range
|
* for range
|
||||||
|
|
||||||
channel
|
channel
|
||||||
|
|
||||||
.code ./talk/primitive3.go /START2/,/STOP2/
|
.code ./primitive3.go /START2/,/STOP2/
|
||||||
|
|
||||||
* Conclusions?
|
* Conclusions?
|
||||||
|
|
||||||
* use-case
|
* use-case
|
||||||
|
|
||||||
- like all languages, align with you use-case
|
- like all languages, align with you use-case
|
||||||
|
- get familiar enough to like and dislike it
|
||||||
|
- don't be afraid to try it out
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue