DiscoverCup o' GoThis just in! When is a constructor that returns an interface appropriate? πŸ€”
This just in! When is a constructor that returns an interface appropriate? πŸ€”

This just in! When is a constructor that returns an interface appropriate? πŸ€”

Update: 2024-05-17
Share

Description



β˜… Support this podcast on Patreon β˜…
CommentsΒ (2)

Aleksey Gureev

"Depend on abstraction, pass realization" is letter "D" in SOLID principles - dependency inversion principle. You should know what it means, don't you? )

May 20th
Reply

Aleksey Gureev

There is no point in creating the interface in tests since all the places you are going to pass data will accept your struct.

May 20th
Reply
In Channel
The X/Tools Files

The X/Tools Files

2025-08-1921:50

`-`

`-`

2025-08-0135:05

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

This just in! When is a constructor that returns an interface appropriate? πŸ€”

This just in! When is a constructor that returns an interface appropriate? πŸ€”

Jonathan Hall & Shay Nehmad