• 0 Posts
  • 31 Comments
Joined 3 years ago
cake
Cake day: July 13th, 2023

help-circle
  • Well written article. Also points are valid. What I disagree with is that author overestimates dangers that those ugly aspects pose. There are linters and unit tests to catch those things before they reach production. I can’t quickly recall when the last time failure to initialize a structure field was a source of bug that was pushed to master (in fact, I love to use zero values as intended). Most bugs I remember are the logical ones, which no compiller can prevent. But then, I am senior developer, so maybe I can’t understand the struggles of juniors.

    It may well be that Go is not adequate for production services unless your shop is literally made up of Go experts (Tailscale) or you have infinite money to spend on engineering costs (Google).

    Reality says otherwise. I worked for a few large companies that chose Go as their main code base language. I can also see wide adoption of Go as backend language. It not only did not increase development or maintenance costs of those products, but reduced them. From the perspective of developer, who used C++ before Go.


  • I’ve dumped 18 years of C++ experience for Go in 2018, and never wanted to come back. Took me a couple of months to become accustomed.

    The main Go’s feature is a green light for ignoring OOP baggage collected for decades, which makes writing code unnecessary burden. And Go have tools for not doing that.

    Yes, sometimes it can be a bit ugly, but if you’re ready to trade academic impeccability for ease of use, it’s a real blast.

    I’ve seen a lot of bad code in Go, which tried to do OOP things taught in school or books. Just don’t. Go requires a different approach, different mindset. Then everything falls in their places.







  • Hiding the complexity behind nice interfaces makes it actually more difficult to understand programming.

    This is a very important point, that most of my colleagues with OOP background seem to miss. They build a bunch of abstractions and then say it’s easy, because we have one liner in calling code, pretending that the rest of the code doesn’t exist. Oh yes, it certainly exists! And needs to be maintained, too.










  • Recently I was asking Copilot a question (in english). As conversation moved to a topic where to get a certain item, it started giving suggestions in my native language and where to find it in my city (the information I wasn’t giving it). I understand that IP address is enough to make this decision, but the question is what else the AI knows about you.




  • You can’t, because in fact your brain really creates images.

    Healthy person most commonly sees images based on the light their eyes receive, but based on the quality of information you may interpret it wrongly. Especially light captured by side sight – here brain draws a big part of picture itself.

    People with schozophrenia can see and hear non-existing people like we see real people. It can take them a lot of reasoning to verify if person they are seeing in fact real.