- Hands-On Dependency Injection in Go
- Corey Scott
- 52字
- 2021-06-10 19:17:48
What does this mean for Go?
When using composition—particularly the unnamed variable form—to satisfy interfaces, LSP applies just as it would in object-oriented languages.
When implementing interfaces, we can use LSP's focus on consistent behavior as a way of detecting code smells related to incorrect abstractions.
推薦閱讀
- Java逍遙游記
- Visual C++串口通信開發入門與編程實踐
- MySQL數據庫應用與管理 第2版
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Keras深度學習實戰
- Creating Stunning Dashboards with QlikView
- Getting Started with React Native
- JavaScript應用開發實踐指南
- Django 3.0入門與實踐
- RocketMQ實戰與原理解析
- Application Development with Parse using iOS SDK
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)
- WordPress Search Engine Optimization(Second Edition)
- Test-Driven iOS Development with Swift
- C++服務器開發精髓