diff --git a/ExperienceReports.md b/ExperienceReports.md index eebe6d51..be33bb14 100644 --- a/ExperienceReports.md +++ b/ExperienceReports.md @@ -27,6 +27,7 @@ Add new sections as appropriate. - [Porting](#porting) - [Time](#time) - [Type System](#type-system) + - [Shorthand declaration](#Shorthand-declaration) ## Context @@ -114,6 +115,6 @@ a 'class' keyword that simply makes a struct to also be an interface to make por - Sam Whited, “[Faking Enumeration Types with Consts and Unexported Types](https://gist.github.com/SamWhited/6cdbc49b4562e1a1b0526af523f5c5d7)”, July 2017, about attempting to ensure compile time correctness of values provided to an API using the type system. -## Shorthand declaration `:=` +## Shorthand declaration - Christophe Meessen, "[Problems with Go's shorthand declaration :=](https://gist.github.com/chmike/ac0113afefbc04e67323b4a3688d6b54#file-godeclareproblem-md)", July 2017, about the shadowing var trap and apparent inconsistency of `:=`. \ No newline at end of file