oop 第10页
The SOLID Principles-拾光赋

The SOLID Principles

The SOLID Principles,The SOLID principles are a set of 5 rules to follow for object-orientated Programming (OOP). These rules or principles can be used to create software that is e...
kity的头像-拾光赋kity5年前
0385
Using the factory design pattern with Kotlin-拾光赋

Using the factory design pattern with Kotlin

Using the factory design pattern with Kotlin, Introduction We all know design patterns or at least heard of them once in our lives as developers, they are supposed to ensure the ma...
kity的头像-拾光赋kity5年前
0457
Do you really understand interfaces?-拾光赋

Do you really understand interfaces?

Do you really understand interfaces?, Table of Contents: The lead-up Deadly Diamond of Death How interfaces solve the diamond problem? The idea behind interfaces The practical use ...
kity的头像-拾光赋kity5年前
04110
S.O.L.I.D: Open/Closed Principle-拾光赋

S.O.L.I.D: Open/Closed Principle

S.O.L.I.D: Open/Closed Principle, S.O.L.I.D Principle (2 Part Series) 1 S.O.L.I.D: Single Responsibility Principle 2 S.O.L.I.D: Open/Closed Principle What is S.O.L.I.D by the way? ...
kity的头像-拾光赋kity5年前
02615
Why you should favor composition over inheritance-拾光赋

Why you should favor composition over inheritance

Why you should favor composition over inheritance,Composition has always had some advantages over inheritance. Creating deep inheritance hierarchies leads to brittle/inflexible cod...
kity的头像-拾光赋kity5年前
0326
Obsolete Design Patterns - Command Pattern-拾光赋

Obsolete Design Patterns – Command Pattern

Obsolete Design Patterns - Command Pattern,I'm sure most of us are familiar with at least some of the patterns laid out by the 'Gang of Four' in the book Design Patterns: Elements ...
kity的头像-拾光赋kity5年前
03710
S.O.L.I.D: Single Responsibility Principle-拾光赋

S.O.L.I.D: Single Responsibility Principle

S.O.L.I.D: Single Responsibility Principle, S.O.L.I.D Principle (2 Part Series) 1 S.O.L.I.D: Single Responsibility Principle 2 S.O.L.I.D: Open/Closed Principle What is S.O.L.I.D by...
kity的头像-拾光赋kity5年前
0237
Technical Interview in Java with 1 week to Prepare and No Experience-拾光赋

Technical Interview in Java with 1 week to Prepare and No Experience

Technical Interview in Java with 1 week to Prepare and No Experience,Have you ever applied to a job that fit most of your skills only for the screening interview to reveal that the...
kity的头像-拾光赋kity5年前
04615
Redux in Ballerina programming language-拾光赋

Redux in Ballerina programming language

Redux in Ballerina programming language , Motivation Hello guys, I have found a new favourite programming language and I decided to implement one of my favourite libraries from the...
kity的头像-拾光赋kity5年前
03212
When Do We Want to Use a Static Class?-拾光赋

When Do We Want to Use a Static Class?

When Do We Want to Use a Static Class?,Each week I'll be combing through the #HelpMeCode hashtag on Twitter and looking for questions that I believe I can help answer and would ben...
kity的头像-拾光赋kity5年前
0447
Connect to postgresdatabase with JAVA-拾光赋

Connect to postgresdatabase with JAVA

Connect to postgresdatabase with JAVA,Feel free to put variables and dbConnection() in another class. import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQL...
kity的头像-拾光赋kity5年前
02114
EdPresso Roundup: Top 5 flavors-拾光赋

EdPresso Roundup: Top 5 flavors

EdPresso Roundup: Top 5 flavors,EdPresso shots are a new kind of Espresso shot but, instead of waking your body up with caffeine, they wake your mind up with knowledge. Just like s...
kity的头像-拾光赋kity5年前
05012