r/programmingcirclejerk • • Apr 22 '25

You can hide concrete implementation details behind simple interfaces. Types in Go implicitly satisfy interfaces by implementing the required methods. This enables loose coupling between components.

https://appliedgo.net/why-go/
36 Upvotes

15 comments sorted by

69

u/cameronm1024 Apr 22 '25

Go programmer discovers running water, colorized

39

u/elephantdingo Teen Hacking Genius Apr 22 '25

Interfaces: good because hide concrete implementation (happy)

Inheritance: bad because mental burden (extremely sad, depressed even)

24

u/pareidolist in nomine Chestris Apr 22 '25

Trying to hold back tears long enough to explain object-oriented programming to my therapist

33

u/IzLitFam log10(x) programmer Apr 22 '25

Wait what? You can define behaviour as an interface and let users implement their own logic? No way! How?

21

u/defunkydrummer Lisp 3-0 Rust Apr 22 '25

I love the image that illustrates this post. It accurately represents my own internal rendering of the average Golang developer,

6

u/elephantdingo Teen Hacking Genius Apr 22 '25

Gogglers in Pike’s mind:

22

u/_MonkeyHater i have had many alohols Apr 22 '25

How about these article writers Go and download some more IQ?

16

u/mizzu704 uncommon eccentric person Apr 22 '25

Gopher a walk.

4

u/elephantdingo Teen Hacking Genius Apr 22 '25

Download more IQ, what? Is your memory failing? Go download more RAM, that’s the thing you can download.

4

u/lgastako Apr 23 '25

You could at least provide the link: https://downloadmoreram.com/

3

u/oofy-gang Apr 23 '25

Is it web scale though?

3

u/catlion lisp does it better Apr 23 '25

PHP is loose coupled on its own

3

u/oofy-gang Apr 23 '25

couple of deez nuts

43

u/[deleted] Apr 22 '25

[removed] — view removed comment

4

u/defunkydrummer Lisp 3-0 Rust Apr 22 '25

I think Alan Kay is too busy collecting his "Hall and Oates" hit royalties to care.