diff --git a/content/post/2021/04/exploring-go.md b/content/post/2021/04/exploring-go.md index 03180bea..e660d827 100644 --- a/content/post/2021/04/exploring-go.md +++ b/content/post/2021/04/exploring-go.md @@ -132,7 +132,7 @@ No more fighting with Gradle transitive dependencies, or .NET DLL hells. ## Go fixed C -The last few years, I find myself writing a bit of C/C++ code. It's safe to say that I hate every minute of it. Go is heavily influenced by C, but luckily comes with a garbage collector. Furthermore, the designers of Go were smart enough to only steal the best features of C - and not to look at C++ at all. For example, there is no pointer arithmetic. At least not without resorting to the `unsafe` package and `uintptr`. Another blessing and ease-of-use is the implicit conversion of values to pointers and pointers to values. Consider the following example in C: +The last few years, I find myself writing a fair bit of C++ code. It's safe to say that I detest every minute of the "++" part... Go is heavily influenced by C, but luckily comes with a garbage collector. Furthermore, the designers of Go were smart enough to only steal the best features of C - and not to look at C++ at all. For example, there is no pointer arithmetic. At least not without resorting to the `unsafe` package and `uintptr`. Another blessing and ease-of-use is the implicit conversion of values to pointers and pointers to values. Consider the following example in C: ```C struct elephant {