IT training engineering managers guide design patterns khotailieu

28 32 0
IT training engineering managers guide design patterns khotailieu

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

g n i r e e n i An Eng Manager’s Guide to Design Patterns A Brain-Friendly Report Watch out for design pattern overuse Discover the secrets of the Patterns Guru Learn how to load patterns straight into your brain See why Joe’s cash flow improved when he cut down his inheritance ISBN: 978-1-491-93127-1 Eric Freeman & Elisabeth Robson g n i r e e n i An Eng Manager’s Guide to Design Patterns A Brain-Friendly Report Watch out for design pattern overuse Discover the secrets of the Patterns Guru Learn how to load patterns straight into your brain See why Joe’s cash flow improved when he cut down his inheritance ISBN: 978-1-491-93127-1 Eric Freeman & Elisabeth Robson An Engineering Manager’s Guide to Design Patterns Wouldn’t it be dreamy if you could get the gist of Design Patterns without reading a book as long as the IRS tax code? It’s probably just a fantasy Eric Freeman Elisabeth Robson Beijing • Boston • Sebastopol • Tokyo It finally happened I feel out of touch one of my developers told me this morning he was “using the strategy design pattern to isolate the code for each of our customers in our MVC-based client application.” I get how libraries and frameworks can speed up my team’s development through reuse, but where design patterns fit in? Design Patterns aren’t libraries or frameworks We’ve all used off-the-shelf libraries and frameworks We take them, write some code using their APIs, compile them into our programs, and benefit from a lot of code someone else has written Think about the Java APIs and all the functionality they give you: network, GUI, IO, etc Libraries and frameworks go a long way towards a development model where we can just pick and choose components and plug them right in But they don’t help us structure our own applications in ways that are easier to understand, more maintainable and flexible That’s where Design Patterns fit in You see, design patterns don’t go directly into your code, they first go into your BRAIN Once you’ve loaded your brain with a good working knowledge of patterns, you can then start to apply them to your new designs, and rework your old code when you fear it’s degrading into an inflexible mess of spaghetti code 2   |   Managers Guide to Design Patterns lated fly Encapsu r behavio >

Ngày đăng: 12/11/2019, 22:18

Mục lục

  • Cover

  • Title page

  • Okay, but what are Design Patterns, really?

  • Friendly Patterns Guru

  • How about an example Design Pattern?

  • Adding the fly behavior

  • What would you do if you were Joe?

  • A design principle for change

  • The new and improved Duck Simulator

  • Shared vocabularies are powerful

  • Patterns Cheat Sheet

  • Your journey has just begun...

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan