When we customize Delegate, we often find that Delegate must be globally visible in order to be used where needed. For private delegate objects, it seems inconvenient to use it in this class. Next let's look at the traditional Delegate writing:
public delegate void MyDelegate(string name);
public class MyBlogBase
private M ...
Posted on Wed, 26 Dec 2018 16:18:06 -0800 by Mistat2000
Encapsulation is to hide the internal attributes and methods of an object. External code can only access the object through a specific interface, which is also part of the idea of Interface-oriented programming.
Encapsulation is a ve ...
Posted on Wed, 26 Dec 2018 16:03:07 -0800 by bruceleejr
Aspect Oriented Programming with Spring
AOP is a different program structure from OOP. In OOP programming, the unit of module is class; however, in AOP programming, the unit of module is aspect. In other words, OOP focuses on classes, while AOP focuses on aspects.
Spring AOP is implemented in pure Java. Currently, only method ...
Posted on Mon, 24 Dec 2018 22:54:06 -0800 by Deadmeat
go language background introduction
The Go language is the second open source programming language released by Google in 2009. The Go language is specially optimized for the programming of multiprocessor system applications. Programs compiled with Go can be as fast as C or C++ codes, and it is more secure and supports parallel processes. On J ...
Posted on Mon, 24 Dec 2018 03:30:06 -0800 by chigley
In previous blog posts, we introduced Slick, which is a kind of FRM (Functional Relation Mapper). Different from ORM, FRM is characterized by its functional grammar which can support flexible object composition to achieve large-scale code reuse, but at the same time, these characteristics affect the acceptance of FRM by programmers and prevent ...
Posted on Sun, 23 Dec 2018 16:33:06 -0800 by stephfox
Reference resources: appcode Website books <Intermediate iOS Programming with Swift> Chatter 36
Example code: https://github.com/andyRon/LearniOSByProject/tree/master/77
Understanding IB Inspectable and IB Designable
Simply put, IBInspectable allows developers to add additional options to IB's property checker. IB Designable enables cha ...
Posted on Sun, 23 Dec 2018 12:51:05 -0800 by damianjames
CSS preprocessor defines a new language. Its basic idea is to use a special programming language to add some programming features to CSS. CSS is used as the target to generate files. Then developers only need to use this language to code. Generally speaking, the CSS preprocessor uses a special programming language to style Web pages, and then ...
Posted on Sun, 23 Dec 2018 09:18:06 -0800 by nosheep
As the basic knowledge of java, input and output (I/O) in Java is well known to every developer. In normal development, most of them do some file or data processing through API of input and output streams. No further research has been done on I/O. In this paper, we will give a comprehensive explanation of the evolution of IO.
(1) What is tradit ...
Posted on Sat, 22 Dec 2018 17:30:06 -0800 by loweauto
Learning Books: Netty's Authoritative Guide
Comparisons of various IO modes:
1. BIO (Synchronized Blocking IO)
Using Server Socket to bind IP address and monitor port, client initiates connection, establishes connection through three handshakes, communicates with socket, and synchronously blocked communication through input and outpu ...
Posted on Sat, 22 Dec 2018 13:18:06 -0800 by ashell
Next to the last article Start developing iOS 10 - 24 with Swift and test Flight for Beta testing In this article, we learn how to use 3D Touch.
Since the inception of the iPhone 6s and the iPhone 6s Plus, Apple has introduced a new way of interaction: 3D Touch. This new feature requires hardware support, because the iPhone screen can sense ...
Posted on Sat, 22 Dec 2018 04:39:06 -0800 by Nameless12