Tag:statement

  • VaR, let, const and code examples

    Time:2021-6-22

    1. Declaration assignment of let, VaR, const var b = 1; let a = 2; const c = 3; console.log(“a”, a); // 1 console.log(“b”, b); // 2 console.log(“c”, c); // 3 2. The scope of let, VaR, const Under the overall situation var a = 1; let b = 2; const c = 3; console.log(“a”, […]

  • C + + object oriented: C + + overloaded operators and functions

    Time:2021-6-21

    C + + allows afunctionandoperatorSpecify multiple definitions, calledfunction overloadingandOperator overloading 。 An overloaded declaration is a declaration with the same name as a function or method previously declared in the scope, but with different parameter lists and definitions (implementations). When you call aoverloaded function oroverload operatorsThe compiler chooses the most appropriate definition by comparing the […]

  • Shell variable advanced usage (3) there are type variables

    Time:2021-6-18

    We know that when we define a variable in a strongly typed language, we must define the type for the variable. For example, the definition shaping can be defined asintType, stringstringType, date typeDateAnd so on, you have to define types before you use them, which is the style of strongly typed programming languages. In shell […]

  • MSSQL · keyword in query stored procedure

    Time:2021-6-13

    Reading time |0.22 min word count |408 characters primary coverage |1. Introduction & background “MSSQL · query keywords in stored procedures” Author | SCscHero Writing time | 2021/5/15 PM11:30 Article type |Series Completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & background    Completion: 100% a) Coping with problems & scenarios Which […]

  • MSSQL · the solution of the maximum output length limit

    Time:2021-6-12

    Reading time |0.11 minutes word count |234.4 characters primary coverage |1. Introduction & background MSSQL – solution to the limitation of maximum output length Author | SCscHero Writing time | 2021/5/16 AM2:25 Article type |Series Completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & background    Completion: 100% a) Coping with problems […]

  • MSSQL · query the relevant information of all indexes in the database

    Time:2021-6-11

    Reading time |0.45 minutes word count |784 characters primary coverage |1. Introduction & background “MSSQL · query all index related information in database” Author | SCscHero Writing time | 2021/5/16 AM1:56 Article type |Series Completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & background    Completion: 100% a) Coping with problems & […]

  • Android basic series (2) Java annotation

    Time:2021-6-11

    sketch Starting from jdk5, Java adds support for metadata, that is, annotations. Annotations are different from annotations. Annotations can be understood as special tags in code. These tags can be read and processed during compilation, class loading and runtime. Through annotation, developers can embed supplementary information in the source code without changing the original code […]

  • Two specific modes of operation for distributed remote calling SpringCloud-Feign (essence)

    Time:2021-6-10

    A preface Introduction of several RPC frameworks 1. Support multi language RPC framework, Google’s grpc, Apache’s thrift 2. RPC framework only supports specific languages, such as Sina Motan 3. A distributed framework supporting service-oriented features such as service governance, such as Alibaba’s Dubbo 4. Spring with complete ecology   cloud   spring   Feign: the […]

  • New features of php7 (1)

    Time:2021-6-10

    1. Scalar type declaration a) There are two modes of scalar type declaration: mandatory (default) and strict. You can now use the following type parameters (whether in mandatory or strict mode): string, int, float, and bool. They extend other types introduced in PHP 5: class name, interface, array and callback types. <?php // Coercive mode […]

  • Let keyword: enhanced version of the VaR keyword

    Time:2021-6-9

    This article is first published on personal website:Let keyword: enhanced version of the VaR keyword Hello, uncle wants to chat with you about the new keywords in ES6 today——let. besidesletI want to talk to you about what you are right aboutletMy feelings——letIn fact, it’s the enhanced versionvar. Why do you say that? Don’t worry, and […]

  • Reasonable and standard usage of PageHelper in springboot + mybatis

    Time:2021-6-7

    PageHelper 1、 Development preparation Original logo 1. Development tools IntelliJ IDEA 2020.2.3 2. Development environment Red Hat Open JDK 8u256 Apache Maven 3.6.3 3. Development dependence SpringBoot <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> MyBatis <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.3</version> </dependency> PageHelper <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.3.0</version> </dependency> 2、 Technical documentation Original logo 1. Based on springboot Springboot official document […]

  • React Foundation (10) – writing style CSS (styled components) in react

    Time:2021-6-7

    preface React  It’s a way to build a user interface   js   Library, fromUI=render()This is a good mapping in this equation,UIThe display of depends on the right side of the equationrenderThe return value of the function And writeReactApplication is just writingReactComponent, the most important data in the component ispropsandstateWith data, how to display it […]