6
maxx555
5y

!rant

So I started learning Golang.
I have to say, I heard the language was good but holy shit!

I got my eye on you implicit interface implementation👀👀

I can't wait to start my first project with a clusterfuck of compositions 🤤

P.s: syntax is kinda weird ¯\_(ツ)_/¯

Comments
  • 2
    It's fantastic
  • 1
    Most non retarded languages (looks at Javascript) that're dynamically typed have implicit interfaces. It's just handy. But go is a great language all the same and you'll love the concurrency parts
  • 1
    Why is the syntax weird?
    Most of the syntax is just simplified C.
  • 1
    @metamourge the formatting looks odd to some, I know it does to me, but I fucking love Go
  • 0
    Isn't it kind of hard to tell which interfaces a type implements if the implementations are implicit? I found that to be a bad design decision. It look good at first but as soon as you get more than 5 interfaces interacting with each other you will group the implementations anyways.
  • 1
    @simulate well yeah... but it allows a great flexibility... it is both an advantage and a disadvantage.... depends on how you look at it, it will get messy with bigger code bases; but as a dev who wrote tons of NodeJs/expressJs based servers, I'm already used to the obscurity of object types... so I tend to look on the flexibility side of the matter
Add Comment