C++ Foundation - const Keyword

1. Introduction to const Const is a type modifier commonly used in C++. A common type refers to a type specified by the type modifier const. The value of a variable or object of a constant type cannot be changed. The difference between const and ...

Added by twmcmahan on Mon, 26 Aug 2019 16:59:17 +0300

IV. Java API s in Common Use

IV. Java API s in Common Use Can switch work on byte, on long and on String? Before Java 5 switch(expr), expr could only be byte, short, char, int. Since Java 5, enumeration types have been introduced into Java, and expr can also be enum types. S ...

Added by Peter on Mon, 26 Aug 2019 12:29:56 +0300

Message Middleware - Advanced Features of RabbitMQ

Preface Before that, we introduced the installation of RabbitMQ, the comparison of major message middleware, the core concept of AMQP, the use of management console, and the Quick Start RabbitMQ. This chapter introduces the advanced features of RabbitMQ. It is introduced in two parts (top/bottom). How can messages be delivered 100% successfu ...

Added by njdirt on Mon, 26 Aug 2019 10:54:53 +0300

Overview of Dart Language in Flutter Series

What is the difference between Dart and other languages? Based on the experience of programming language, how can we get started quickly? This article starts with the most important component of programming languages, namely, basic grammar and type variables, to learn about Dart. I. The Initial Experience of Dart Language Dart is available on t ...

Added by ViN86 on Sun, 25 Aug 2019 14:58:20 +0300

Dart Functions, Classes and Operators of Flutter Series

Programming languages vary widely, but in the final analysis, the design idea is nothing more than to express and process information. How Dart represents information has been introduced in the overview of Dart language in the Flutter series. This article describes how Dart processes information. As a truly object-oriented programming language, ...

Added by bruceg on Sun, 25 Aug 2019 12:06:08 +0300

Restapi-do it the functional way, review functional programming

Looking at the source code of the previous blog again, I found I couldn't understand even myself.Think about returning to the OOP line mode in order to make time for delivery. Look at this code: (post & parameters('pid,'desc.?,'width.as[Int].?,'heigth.as[Int].?)) { (pid, optDesc, optWid, optHgh) => val futCount: Fut ...

Added by Fallen_angel on Sat, 24 Aug 2019 06:47:59 +0300

koa-router implementation principle

koa router implementation principle Two purposes of this article Understanding the use of path-to-regexp koa-router source parsing path-to-regexp Introduction to path-to-regexp usage. How can it be used to match identified routes? Think about what we can do if we want to identify routes? The most intuitive is definitely a path string match '/ ...

Added by paulspoon on Fri, 23 Aug 2019 19:03:29 +0300

Talking about the java filter Filter <the most understandable explanation>

I. Brief Introduction Filter in Servlet is a server-side program that implements javax.servlet.Filter interface. Its main purpose is to filter character encoding and make some business logic judgments, such as access to pages. Its working principle is that as long as you configure the web.xml file to intercept client requests, it will help you ...

Added by blckspder on Fri, 23 Aug 2019 10:54:12 +0300

BFS Maze Problem + Print Path

problem Define a two-dimensional array N*M (where 2<=N<=10; 2<=M<=10), as shown under the 5*5 array: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, }; It represents a labyrinth, in which 1 ...

Added by MattSharp on Thu, 22 Aug 2019 12:47:23 +0300

The Foundation of Go Language: Channel

Shared memory through communication (Java communicates through shared memory) Definition func service() string { time.Sleep(time.Millisecond * 50) return "Done" } func AsyncService() chan string { retCh := make(chan string, 1)//Create a channel with a capacity of 1 element and a type of string go func() { ret := service() fmt.Println(" ...

Added by Crowly on Wed, 21 Aug 2019 13:02:55 +0300