Labels: type conversion

A total of 20 results were found

Basic Implementation Series of Common Data Structures in Redis (II): String

High performance Redis practice Basic Principles

We already know that the bottom layer of a single Redis database instance is a huge hash table, and all Redis key value pairs are mounted on this hash table, so we can achieve

Published by Xueyuan Jun 3 years ago    Number of views: 687    Number of likes: 0

Accessors and modifiers

Larravel 8 Chinese Document Eloquent ORM

brief introduction Accessors and modifiers allow you to format Eloquent properties when you get model properties or set their values. For example, you may want to use the Larravel encryptor to

Published by Xueyuan Jun 3 years ago    Number of views: 10164    Number of likes: 0

Object oriented technology in JavaScript

Authoritative Guide to JavaScript Classes and Modules

So far, what we have discussed is the basic knowledge of JavaScript classes. In this section, we will use classes in JavaScript to program. Collection Class Set

Published by Xueyuan Jun 3 years ago    Views: 1842    Number of likes: 0

PHP inheritance, encapsulation and polymorphism

PHP Beginner to Practical Tutorial object-oriented programming

In the first tutorial, you introduced the basic concepts of object-oriented programming in PHP -- classes and objects. Today, we will look at the three features of object-oriented programming: inheritance, encapsulation

Published by Xueyuan Jun 4 years ago    Views: 9108    Number of likes: 3

PHP function (I): user-defined function and built-in function

PHP Beginner to Practical Tutorial Basic grammar

Custom function Functions are the basic equipment of modern high-level programming languages, and PHP is no exception. A typical PHP function is declared through the function keyword, but

Published by Xueyuan Jun 4 years ago    Number of views: 7385    Number of likes: 3

PHP Basic Data Type

PHP Beginner to Practical Tutorial Basic grammar

In the last tutorial, Xuejun introduced the declaration and use of variables and constants in PHP, and mentioned that PHP is a weakly typed language. When declaring variables, you don't need to specify the type

Published by Xueyuan Jun 4 years ago    Views: 6912    Number of likes: 2

Type conversion

Authoritative Guide to JavaScript Types, Variables, and Values

Automatic type conversion When the conditions are met, JavaScript will automatically perform type conversion, but not all scenarios support it. For example, the x above cannot be converted to

Published by Xueyuan Jun 4 years ago    Views: 2153    Number of likes: 0

Create independent GORM model class mapping Protobuf

Micro service from introduction to practice Project practice

So far, we have all used the structure User and PasswordReset written based on the Protobuf data structure as the database ORM

Published by Xueyuan Jun 4 years ago    Number of views: 414    Number of likes: 0

JSON Processing Part (II): Unknown Structure JSON Data Decoding and JSON Streaming Read Write Implementation

Go Getting Started Tutorial Network programming

Decoding JSON data of unknown structure In the first tutorial, Mr. Xuejun introduced the encoding/json standard library built in Go language and how to use it to provide

Published by Xueyuan Jun 4 years ago    Views: 6389    Number of likes: 0

JSON Processing Part (I): Basic Introduction to JSON Encoding and Decoding

Go Getting Started Tutorial Network programming

Go language has built-in encoding/json standard library to support JSON. Developers can easily generate and parse JSON format data through it

Published by Xueyuan Jun 4 years ago    Views: 6181    Number of likes: 1

Channel type (II): one-way channel and its use

Go Getting Started Tutorial Concurrent programming

In the previous tutorial, we introduced the basic syntax of pipeline types. Generally, pipelines support two-way operations: they can send data to and receive data from pipelines. But in some scenarios, it may be

Published by Xueyuan Jun 4 years ago    Views: 13130    Number of likes: 3

Interface (V): empty interface and its usage scenarios

Go Getting Started Tutorial object-oriented programming

Students familiar with Java should all know that in this so-called purest object-oriented programming language, "everything is an object", and all classes inherit from the ancestor class "Objec..."

Published by Xueyuan Jun 4 years ago    Views: 9444    Like: 12

Data Types (V): Transformation between Basic Data Types

Go Getting Started Tutorial Functional programming

Through the previous tutorials, we have successively introduced the basic data types in Go language, which are Boolean type, integer type, floating point type, complex type, string and character type, and P

Published by Xueyuan Jun 4 years ago    Number of views: 10039    Number of likes: 5

Data Types (I): Overview and Boolean Types

Go Getting Started Tutorial Functional programming

Supported Data Types The Go language has built-in support for these basic data types: Boolean type: bool Integer: int8 byte、int16、int、u...

Published by Xueyuan Jun 4 years ago    Views: 11661    Number of likes: 3

Accessors and modifiers

Larave 5.7 Chinese documents Eloquent model

brief introduction Accessors and modifiers allow you to format Eloquent properties when you get model properties or set their values. For example, you may want to use the Larave Encryptor to store

Published by Xueyuan Jun 5 years ago    Views: 17509    Number of likes: 4