Is Go's interface system a form of duck typing? Why or why not?

Last updated 20 June 2026

  • Yes in spirit: typing is structural, so a type satisfies an interface just by having the methods (no implements keyword).

  • Unlike Python, the check happens at compile time, so it is called "static duck typing" or structural typing.

  • Benefit: you can define an interface that an existing third-party type already satisfies without modifying it.

  • https://www.reddit.com/r/rust/comments/1h15md8/goodbye_rust_i_wish_you_success_but_im_back_to_c/
  • https://www.reddit.com/r/golang/comments/1gfjnzm/since_when_is_senior_golang_developer_expected_to/
All Golang interview questions