Classes are also objects
In most programming languages, a class is a set of code snippets that describe how to generate an object, which is also true in python.
my_object = ObjectCreator()
<__main__.ObjectCreator object at 0x037DACD0>
But python's classes are mo ...
Posted by sgarcia on Wed, 21 Aug 2019 01:42:14 -0700
In the last article, we ended the registration and scanning of beans. In this article, we will go into the instantiation and initialization of beans.
Source code analysis
Let's start with a mind map. Beans are instantiated and initiali ...
Posted by adren on Tue, 20 Aug 2019 06:51:57 -0700
1. Brief introduction
1.1 Concept of AOP
AOP is the abbreviation of Aspect Oriented Programming, which means: Face-Oriented Programming, a technology to achieve the unified maintenance of program functions through pre-compiled mode and run-time ...
Posted by dsartain on Tue, 20 Aug 2019 00:00:03 -0700
Recently, I rebuilt the system and used win10. Before that, the development environment and configuration on the computer were cleared. Because of working reasons, I need to use Gitee (code cloud) and Github frequently. I used to configure one, but I don't know how to configure two at the same time, so I have this article.
Since Gitee a ...
Posted by Santonian on Mon, 19 Aug 2019 23:38:41 -0700
1 Requirement Description
2 parse code
2.1 Implementation Ideas
2.2 Detailed Code
2.3 Test Sample
1 Requirement Description
A batch of JSON-like strings without quotation marks were encountered in the project:
It needs to be parsed i ...
Posted by Kathy on Mon, 19 Aug 2019 22:45:46 -0700
These two days watching RPC is really a bit of a mystery, some things to see forgotten, forgotten to see! Plus there are some messy things, I feel that these two days need to sort out ideas, and then according to the principle, to achieve a RPC frame ...
Posted by gavinandresen on Mon, 19 Aug 2019 20:38:44 -0700
Previously, we talked about Cplex's direct solution model for VRPTW, and now we call Cplex in the branch and bound algorithm to solve VRPTW.1. Branch and Bound Algorithms
(1) Definition:(2) Solving process:
1) Determine a lower bound (initial solutio ...
Posted by n_wattam on Mon, 19 Aug 2019 19:03:13 -0700
configparser is used to process files in a specific format, which essentially uses open to manipulate files.
The configuration file format is as follows:
# The first way of annotation
; The second way of annotation
[node1] # node
k1 = v1 # key = v ...
Posted by Giri J on Sun, 18 Aug 2019 23:29:38 -0700
Definition of Design Patterns: Simple and Elegant Solutions for Specific Problems in Object-Oriented Software Design
Design patterns are some of the solutions that predecessors summed up to solve a specific scenario. Maybe it's normal to feel that the design pattern is not so well understood when you first get into contact with programming with ...
Posted by antoine on Sun, 18 Aug 2019 23:25:49 -0700
Original Link: https://studygolang.com/articles/14336
Several ways golang implements RPC
What is RPC
Remote Procedure Call (RPC) is a computer communication protocol.This protocol allows programs ...
Posted by ncracraf on Sun, 18 Aug 2019 19:01:03 -0700