diff --git a/Style-Guide.md b/Style-Guide.md index e5d9956..9965a4c 100644 --- a/Style-Guide.md +++ b/Style-Guide.md @@ -144,7 +144,7 @@ Other stylistic choices don't matter as much, since all of the code will be gofm # "Enums" -Go does not have support for enums, but you can still make things that are effectively enums. This is done by creating a new type with the desired name, and basing it off of an `int` primitive, then definind a `const` block of pre-defined values for it. +Go does not have support for enums, but you can still make things that are effectively enums. This is done by creating a new type with the desired name, and basing it off of an `int` primitive, then defining a `const` block of pre-defined values for it. ``` type Color int @@ -156,4 +156,6 @@ const ( ) ``` -All enum values the ARF compiler are prefixed with the name of the enum they belong to, as shown above. \ No newline at end of file +All enum values the ARF compiler are prefixed with the name of the enum they belong to, as shown above. + +The `iota` keyword just initializes everything in the block with incrementing values. \ No newline at end of file