Design Patterns
CppCon 2024 klaus.iglberger@gmx.de Design Patterns The Most Common Misconceptions (2 of N)2 Klaus Iglberger C++ Trainer/Consultant Author of “C++ Software Design” (Co-)Organizer of the Munich Email: klaus.iglberger@gmx.deThe 2nd in a Row 3The 2nd in a Row 45 Let’s again talk about design patterns and virtual functionsThe Overhead of Inheritance Hierarchies 6The Overhead of Inheritance common interface; • … is used via the base class interface; • … introduces an abstraction and is a design pattern. • … should be called “Static Interface” Adding Functionality via CRTP … • … provides0 码力 | 136 页 | 7.95 MB | 5 月前3Prototype your design
Prototype your design! Robert Griesemer dotGo 2016, Paris 1 Getting to good software design ● Literature is full of design paradigms ● Usually involves ○ Design docs ○ Feedback from reviewers ○ is created until design is “completed” 2 How can we tell if we have a good design? 3 Elsewhere, design thinking requires prototyping 4 Empathize Define Ideate Test From Design School Stanford: mutation ⇨ Define appropriate methods on that type A Go implementation allows us to explore our design. 7 Key missing feature: Nice notation The work-around, accessor methods for multi-dim. index expressions0 码力 | 30 页 | 164.99 KB | 1 年前3Back to Basics: Design Patterns
Please do not redistribute slides without prior permission. 1Back to Basics: Design Patterns Mike Shah, Ph.D. @MichaelShah | mshah.io September 17, 2020 60 minutes | Introductory to Intermediate forward to discussion!Abstract Design Patterns are reusable elements of design that may help aid in making software more maintainable, flexible, and extensible. The term 'design patterns' can be traced back Four' book Design Patterns, in which common software design patterns were defined and categorized. In this talk, you will learn the fundamentals of the creational, structural, and behavior design patterns0 码力 | 96 页 | 2.10 MB | 5 月前3The Roles of Symmetry And Orthogonality In Design
dot com Symmetry And Orthogonality System Design The Roles of In Designcharley bay charleyb123 at gmail dot com Symmetry And Orthogonality System Design The Roles of In DesignCharley Bay - charleyb123 charleyb123 at gmail dot com The Roles of Symmetry And Orthogonality In Design cppcon 2021 Either you keep self improving, or it's time to move into management. --Niall Douglas 30-Sep-2021 https://old of Symmetry And Orthogonality In Design cppcon 2021 Today’s Agenda • Levels of “Knowing” • Role of Symmetry • Role of Asymmetry • Role of Orthogonality • Design Relationships • Conclusion What’s0 码力 | 151 页 | 3.20 MB | 5 月前3Design Patterns: Facts and Misconceptions
Design Patterns Facts and Misconceptions Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer of the CppCon B2B and SD tracks Email: klaus.iglberger@gmx.de3Let’s talk about Software Design and Design Patterns 4Disclaimer 5 All content is based on personal, subjective impressions and opinions opinions. You may have another opinion, and that is fine! There is no definitive answer in software design. It depends. But that is the reason why it is fun.6 std::make_unique() … … improves exception0 码力 | 88 页 | 17.31 MB | 5 月前3《Slides Dev Web》 09. Services Web
09.Services Web 19 décembre 2023 Développement web il3 Services web HE-Arc (DGR) 2022 Applications distribuées • Motivation : répartir l’exécution sur plusieurs machines – Principe : Les composants/services abstraction différences – Exemples : RPC, RMI (java), CORBA, DCOM (MS) • Utiliser les technologies du web, comme HTTP et XML : – indépendantes de la plateforme, éprouvées, largement utilisées • Système distribué rvices 1 Service web • 2 visions : – Utiliser les technos web pour développer des applis distribuées – Accès pour une application aux services offerts aux humains • Service web = webapp pour une autre0 码力 | 6 页 | 47.90 KB | 1 年前3The Most Important Design Guideline is Testability
12The Most Important Design Guideline is Testability CppCon 2024 3 Jody Hagins jhagins@dev.nullThe Most Important Design Guideline is Testability CppCon 2024 4 Jody Hagins jhagins@dev.nullThe nullThe Most Important Design Guideline is Testability CppCon 2024 5 Jody Hagins jhagins@maystreet.com coachhagins@gmail.com6 Grad School and Winning the LotteryRemember This? 7 https://www.youtube com/watch?v=a76Z__kQJdo&t=83s8 The Most Important Design Guideline https://www.youtube.com/watch?v=a76Z__kQJdo&t=83s9 The Most Important API Design Guideline? TESTABILITY https://www.youtube.com/watch0 码力 | 126 页 | 9.11 MB | 5 月前3Go Web编程
《Go Web 编程》 《Go Web 编程》 因为自己对Web开发比较感兴趣,所以最近抽空在写一本开源的书籍《Go Web编程》《Build Web Application with Golang》。写这本书不表示我能力很强,而是我愿意分享,和大家一起分享Go写Web应用的一些东西。 对于从PHP/Python/Ruby转过来的同学了解Go怎么写Web应用开发的 对于从C/C++转过来的同学了解Web到底是怎么运行起来的 对于从C/C++转过来的同学了解Web到底是怎么运行起来的 我一直认为知识是用来分享的,让更多的人分享自己拥有的一切知识这个才是人生最大的快乐。 这本书目前我放在Github上,我现在基本每天晚上抽空会写一些,时间有限、能力有限,所以希望更多的朋友参与到 这个开源项目中来。 撰写方法 撰写方法 文件命名 文件命名 每个章节建立一个md文件,如第11章的第3节,则建立11.3.md 11.3.md。 这样读者就可以把相应的Markdown文件编译成html文件,执行go build build.go,执行生成的文件,就会在底目 录下生成相应的html文件 交流 交流 欢迎大家加入QQ群:259316004 《Go Web编程》专用交流群 大家有问题还可以上德问上一起交流学习:http://www.dewen.org/topic/165 致谢 致谢 首先要感谢Golang-China的QQ群10231980 码力 | 295 页 | 5.91 MB | 1 年前3Can Data-Oriented-Design be Improved?
1Can data-oriented-design be improved? Ollivier Roberge Collège Jean-de-Brébeuf 2A brief historic • 1960s • FORTRAN • Lisp • 1980s • OOP • Structured programming • Modules • 2000s • Template is DoD about? • DoD (“Data oriented design”) • Not about cache lines, nor struct layout (at its core) • From wikipedia: ”As a design paradigm, data-oriented-design focuses on optimal transformations • And your program needs to do something: 𝐷𝑎𝑡𝑎&$%#$% = 𝐹(𝐷𝑎𝑡𝑎!"#$%) 13Data oriented design = Functional programmingOn the ”equality”… • DoD and functional programming may have strong differences0 码力 | 39 页 | 1.18 MB | 5 月前3Writing Web Apps in Go
Writing Web Apps in Go Andrew Gerrand Rob Pike May 10, 2011 Feedback http://goo.gl/U5rYj #io2011 #DevTools What is Go? A programming language for today's world • Go is fun, efficient, and open source CPU-intensive tasks, – designed for modern hardware (multicore, networks), – aimed at software such as web servers, – ... but turned out to be a great general-purpose language. • True open source – all development 5 Overview • News from a year of development. • A web server written in Go. • Deploying Go in production. • Prerequisite: some knowledge of web servers, not much Go. • Some big announcements and fun0 码力 | 66 页 | 712.40 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100