filmov
tv
Interfaces 101 : Interface Type Assertion
Показать описание
Episode 6! - Watch and learn how you can use type assertions to write simple, yet effective, code. -- In this video, Miki will write a versatile logging library with Go interfaces.The first prototype he proposes consists of a type with an `io.Writer` interface field to handle writing data for the logger. Upon completing the first design, Miki realizes his type is missing a `Sync` function, which will enable developers to move data into stable storage while logging. To meet this requirement, Miki will create a new interface type with a `Sync` function.
Things you will learn in this video :
- How to properly perform a type assertion on an interface.
- How to move data from memory to stable storage.
- Tips on designing an interface in Go.
--
Do you agree with the Go proverb : “the bigger the interface the weaker the abstraction”?
Comment below or tweet us on twitter & let us know, we want to hear from you! ~ If you found this video helpful, hit that like button & subscribe for more content like this.
--
Other Links:
Things you will learn in this video :
- How to properly perform a type assertion on an interface.
- How to move data from memory to stable storage.
- Tips on designing an interface in Go.
--
Do you agree with the Go proverb : “the bigger the interface the weaker the abstraction”?
Comment below or tweet us on twitter & let us know, we want to hear from you! ~ If you found this video helpful, hit that like button & subscribe for more content like this.
--
Other Links:
Interfaces 101 : Interface Type Assertion
Interfaces 101 : Go's Logging Interface
Interfaces 101 : Interface Design Considerations
Interfaces 101 : Testing with a Mock Interface
Interfaces 101 : Implementing Generics with Interfaces
C# interfaces 🐟
This Will Make Everyone Understand Golang Interfaces
Tutorial: Do you really think you understand Go interfaces?
Internals of Interfaces in Golang | Intermediate level
Interfaces 101 : Determine LOC with io.Writer
Interfaces in Golang: What They Are and How to Use Them
Go Tutorial - INTERFACES Part 2 (Empty Interfaces, Type Assertions, Type Switch)
13: Interfaces in OOP PHP | Interfaces Explained | Object Oriented PHP Tutorial | PHP Tutorial
Interfaces 101 : Heap Escape Analysis
interfaces advanced - go tutorial for beginners - part 13
GO | Interfaces are easier than you think
Interfaces 101 - A Noob's Guide to Old School RuneScape
The Perfect Match: Generics in Interfaces
Interfaces 101 : Error Handling with Go
Java-101 Implementing Interfaces in Java || Basics of Interfaces
Generics VS. Interfaces
C# Interfaces Explained in Simple Terms | Mosh
Graphical User Interfaces: Crash Course Computer Science #26
Understanding Linux Network Interfaces
Комментарии