 Back to Basics: Designing Classes (part 1 of 2)Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer Beck, TDD by Example)The Challenge of Class Design 10 Guideline: Design classes for easy change. Guideline: Design classes for easy extensions.Design Guidelines 11 Back to Basics: Class Design (Part ) const; 23 Using inheritance naively to solve our problem easily leads to … … many derived classes; … ridiculous class names; … deep inheritance hierarchies; … duplication between similar implementations0 码力 | 87 页 | 5.64 MB | 6 月前3 Back to Basics: Designing Classes (part 1 of 2)Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer Beck, TDD by Example)The Challenge of Class Design 10 Guideline: Design classes for easy change. Guideline: Design classes for easy extensions.Design Guidelines 11 Back to Basics: Class Design (Part ) const; 23 Using inheritance naively to solve our problem easily leads to … … many derived classes; … ridiculous class names; … deep inheritance hierarchies; … duplication between similar implementations0 码力 | 87 页 | 5.64 MB | 6 月前3
 Back to Basics: Designing Classes (part 2 of 2)Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer duplication to enable you to change everything in one place (the DRY principle). Guideline: Design classes for easy change.Data Member Initialization 24 struct Widget { Widget() : Widget(42) // Decisions 63 Guideline: Encapsulate design decisions (i.e. variation points). Guideline: Design classes for easy change.Qualified/Modified Member Data 64 Back to Basics: Class Design (Part 1) The Challenge0 码力 | 76 页 | 2.60 MB | 6 月前3 Back to Basics: Designing Classes (part 2 of 2)Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer duplication to enable you to change everything in one place (the DRY principle). Guideline: Design classes for easy change.Data Member Initialization 24 struct Widget { Widget() : Widget(42) // Decisions 63 Guideline: Encapsulate design decisions (i.e. variation points). Guideline: Design classes for easy change.Qualified/Modified Member Data 64 Back to Basics: Class Design (Part 1) The Challenge0 码力 | 76 页 | 2.60 MB | 6 月前3
 Spring Framwork Testing v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2. Unit Testing Support Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2.4. Support Classes for Integration Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration with Component Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Mixing XML, Groovy Scripts, and Component Classes. . . . . . . . . . . . . . .0 码力 | 193 页 | 2.53 MB | 1 年前3 Spring Framwork Testing v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2. Unit Testing Support Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2.4. Support Classes for Integration Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration with Component Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Mixing XML, Groovy Scripts, and Component Classes. . . . . . . . . . . . . . .0 码力 | 193 页 | 2.53 MB | 1 年前3
 Kotlin 1.2 Language DocumentationJumps Classes and Objects Classes and Inheritance Properties and Fields Interfaces Visibility Modifiers Extensions Data Classes Sealed Classes Generics Nested and Inner Classes Enum Classes Object Object Expressions and Declarations Inline classes Delegation Delegated Properties Functions and Lambdas Functions 5 5 7 8 9 11 12 14 23 29 33 35 36 36 42 47 62 62 69 71 74 76 databases through their Java drivers. For JPA, the kotlin-jpa compiler plugin adapts Kotlin-compiled classes to the requirements of the framework. Kotlin applications can be deployed into any host that supports0 码力 | 333 页 | 2.22 MB | 1 年前3 Kotlin 1.2 Language DocumentationJumps Classes and Objects Classes and Inheritance Properties and Fields Interfaces Visibility Modifiers Extensions Data Classes Sealed Classes Generics Nested and Inner Classes Enum Classes Object Object Expressions and Declarations Inline classes Delegation Delegated Properties Functions and Lambdas Functions 5 5 7 8 9 11 12 14 23 29 33 35 36 36 42 47 62 62 69 71 74 76 databases through their Java drivers. For JPA, the kotlin-jpa compiler plugin adapts Kotlin-compiled classes to the requirements of the framework. Kotlin applications can be deployed into any host that supports0 码力 | 333 页 | 2.22 MB | 1 年前3
 Kotlin Language Documentation 1.3Basics Basic Types Packages Control Flow: if, when, for, while Returns and Jumps Classes and Objects Classes and Inheritance Properties and Fields Interfaces Visibility Modifiers 7 7 9 11 103 111 115 118 2 Extensions Data Classes Sealed Classes Generics Nested and Inner Classes Enum Classes Object Expressions and Declarations Inline classes Delegation Delegated Properties Functions databases through their Java drivers. For JPA, the kotlin-jpa compiler plugin adapts Kotlin- compiled classes to the requirements of the framework. Kotlin applications can be deployed into any host that supports0 码力 | 597 页 | 3.61 MB | 1 年前3 Kotlin Language Documentation 1.3Basics Basic Types Packages Control Flow: if, when, for, while Returns and Jumps Classes and Objects Classes and Inheritance Properties and Fields Interfaces Visibility Modifiers 7 7 9 11 103 111 115 118 2 Extensions Data Classes Sealed Classes Generics Nested and Inner Classes Enum Classes Object Expressions and Declarations Inline classes Delegation Delegated Properties Functions databases through their Java drivers. For JPA, the kotlin-jpa compiler plugin adapts Kotlin- compiled classes to the requirements of the framework. Kotlin applications can be deployed into any host that supports0 码力 | 597 页 | 3.61 MB | 1 年前3
 Spring Framework Reference Documentation 4.3.26.RELEASEcomponents @Component and further stereotype annotations Meta-annotations Automatically detecting classes and registering bean definitions Using filters to customize scanning Defining bean metadata within definitions Conditionally include @Configuration classes or @Bean methods Combining Java and XML configuration XML-centric use of @Configuration classes @Configuration class-centric use of XML with @ImportResource Operator Safe Navigation operator Collection Selection Collection Projection Expression templating Classes used in the examples 11. Aspect Oriented Programming with Spring Introduction AOP concepts Spring0 码力 | 1323 页 | 4.08 MB | 1 年前3 Spring Framework Reference Documentation 4.3.26.RELEASEcomponents @Component and further stereotype annotations Meta-annotations Automatically detecting classes and registering bean definitions Using filters to customize scanning Defining bean metadata within definitions Conditionally include @Configuration classes or @Bean methods Combining Java and XML configuration XML-centric use of @Configuration classes @Configuration class-centric use of XML with @ImportResource Operator Safe Navigation operator Collection Selection Collection Projection Expression templating Classes used in the examples 11. Aspect Oriented Programming with Spring Introduction AOP concepts Spring0 码力 | 1323 页 | 4.08 MB | 1 年前3
 Reference guide for Free Pascal, version 3.2.2. . . . . . . . . . . 85 6 Classes 86 6.1 Class definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 6.2 Abstract and sealed classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 11 Objective-Pascal Classes 159 11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 11.10Enumeration in Objective-C classes . . . . . . . . . . . . . . . . . . . . . . . . . . 167 12 Expressions 169 12.1 Expression syntax0 码力 | 268 页 | 700.37 KB | 1 年前3 Reference guide for Free Pascal, version 3.2.2. . . . . . . . . . . 85 6 Classes 86 6.1 Class definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 6.2 Abstract and sealed classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 11 Objective-Pascal Classes 159 11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 11.10Enumeration in Objective-C classes . . . . . . . . . . . . . . . . . . . . . . . . . . 167 12 Expressions 169 12.1 Expression syntax0 码力 | 268 页 | 700.37 KB | 1 年前3
 Spring Framework Reference Documentation v4.3.2components @Component and further stereotype annotations Meta-annotations Automatically detecting classes and registering bean definitions Using filters to customize scanning Defining bean metadata within definitions Conditionally include @Configuration classes or @Bean methods Combining Java and XML configuration XML-centric use of @Configuration classes @Configuration class-centric use of XML with @ImportResource Operator Safe Navigation operator Collection Selection Collection Projection Expression templating Classes used in the examples 11. Aspect Oriented Programming with Spring Introduction AOP concepts Spring0 码力 | 1311 页 | 4.07 MB | 1 年前3 Spring Framework Reference Documentation v4.3.2components @Component and further stereotype annotations Meta-annotations Automatically detecting classes and registering bean definitions Using filters to customize scanning Defining bean metadata within definitions Conditionally include @Configuration classes or @Bean methods Combining Java and XML configuration XML-centric use of @Configuration classes @Configuration class-centric use of XML with @ImportResource Operator Safe Navigation operator Collection Selection Collection Projection Expression templating Classes used in the examples 11. Aspect Oriented Programming with Spring Introduction AOP concepts Spring0 码力 | 1311 页 | 4.07 MB | 1 年前3
 Kotlin Language Documentation 1.9.20Lambda expressions Lambda expressions practice Next step Classes Properties Create instance Access properties Member functions Data classes Practice Next step Null safety Nullable types Check companions of interfaces Nested declarations in annotation classes Parameterless main Functions with big arity Progressive mode Inline classes Unsigned integers @JvmDefault Standard library Tooling definition and imports Program entry point Print to the standard output Functions Variables Creating classes and instances 308 311 313 313 313 314 314 314 314 315 319 322 322 323 323 324 3240 码力 | 1299 页 | 32.44 MB | 1 年前3 Kotlin Language Documentation 1.9.20Lambda expressions Lambda expressions practice Next step Classes Properties Create instance Access properties Member functions Data classes Practice Next step Null safety Nullable types Check companions of interfaces Nested declarations in annotation classes Parameterless main Functions with big arity Progressive mode Inline classes Unsigned integers @JvmDefault Standard library Tooling definition and imports Program entry point Print to the standard output Functions Variables Creating classes and instances 308 311 313 313 313 314 314 314 314 315 319 322 322 323 323 324 3240 码力 | 1299 页 | 32.44 MB | 1 年前3
 Spring Framework Reference Documentation 4.3.26.RELEASE.................................................................. 112 Automatically detecting classes and registering bean definitions ........................ 113 Using filters to customize scanning ...................................................... 134 Conditionally include @Configuration classes or @Bean methods .............. 138 Combining Java and XML configuration ....................... ..................................................................................... 211 10.5. Classes used in the examples ........................................................................ 2120 码力 | 916 页 | 5.52 MB | 1 年前3 Spring Framework Reference Documentation 4.3.26.RELEASE.................................................................. 112 Automatically detecting classes and registering bean definitions ........................ 113 Using filters to customize scanning ...................................................... 134 Conditionally include @Configuration classes or @Bean methods .............. 138 Combining Java and XML configuration ....................... ..................................................................................... 211 10.5. Classes used in the examples ........................................................................ 2120 码力 | 916 页 | 5.52 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100














 
  
 