19 points · by martinbaun · 2y ago · 41 comments
Basic focused on the essential, no weird crazy language features that would take you 10 years to master - C++ I am looking at you.
Go focuses on the basics (pun intended); thus, you can focus more on getting stuff done than fancy abstractions and language features. Of course, Go has more features, but they seem to be baked in well and important.
What do you think of this observation?
In my experience, it is just that, experience that makes or breaks a solution.
"Learning Go" from O'Reilly is a book I've started way too late - a year into a Golang project (I've been hiring into a Go programming role with the only thing I knew about go being "I can't understand the order of words in var/type declarations; oh, and it compiles to a single binary."). It's really good, explaining what's idiomatic in Golang and where I and my coworkers made really silly things.
Plus a side project to actually use it on. Practice is the only way many of us get to remember things.
I sometimes think that doing some computational challenges may be fun too, at least to learn how benchmarking and concurrency works in Go.
And if you're coming from these... don't expect too much "batteries included". If I read [0] correctly, it took 7 years of Golang on the market to get a built-in method to get all keys of a map.
[0]: https://stackoverflow.com/questions/21362950/getting-a-slice...
I have honestly never practiced true TDD and figured the above resource will get me to explore both, TDD and Go. And maybe transition into 'Learning Go' to learn more in depth about the language? What do you think?
Go is so easy to jump in compared to almost any other programming language. As you're already familiar with Java/C# I'd say just start some side projects. Might be beneficial to read a little about how the go packages work etc.. but beside that just start :)
go run main.go
and start adding things to main that you'd want. If you want more info about Go, just book a meeting with martinbaun.com/book Not looking to hire currently, but I'd gladly help in the right direction
If run on a system that doesn’t have that, Go could absolutely read and write to system memory.
Also maybe PICO-8 though I don't like that you have to buy it.
I'd explain the basic constructs of loop, functions and statements, and then ask them to think how they could make the game work (looping part) and render.
Why you think Go is the new Java?
We run Python, inside Docker, Inside Kubernetes, inside a fake virtual machine, with libraries that use C extensions and an interpreter.
Basic just runs, same with Go. No need to have a lot of things up and running to get stuff done.