css with the artifact of css variable, I don't need less and sass anymore

Those who have used sass or less know that they can mainly have nesting, variable and function functions. In fact, they have begun to gradually support in the native CSS. It is true that only you and I know well at present, while others are still in the bud. If you understand CSS variables, you will find that CSS has become extremely powerful. ...

Posted by Calvin770D on Thu, 11 Nov 2021 21:51:36 -0800

LinkedHashMap source code analysis (before jdk1.7)

1 LinkedHashMap (before jdk1.7) We know that the underlying data store of Map is a hash table (array + one-way linked list). Next, let's take a look at another LinkedHashMap, which is a subclass of HashMap. It maintains a two-way linked list (Hash Table + two-way linked list) on the basis of HashMap. The insertion order (first in first out, si ...

Posted by tendrousbeastie on Thu, 11 Nov 2021 21:47:59 -0800

Ten thousand words long text and practical cases make the abstract factory no longer abstract

This article is excerpted from "design patterns should be learned this way"1 about product hierarchy and product familyBefore explaining the abstract factory, we need to understand two concepts: product hierarchy and product family, as shown in the figure below.In the figure above, there are three kinds of figures: square, circle and ...

Posted by Fribbles on Thu, 11 Nov 2021 21:46:46 -0800

Java Web knowledge essential

Java Web knowledge essential web concept review Software architecture C/S: client / serverB/S: Browser / server Resource classification Static resource: all users get the same result after accessing, which is called static resource. Static resources can be directly parsed by the browser, such as html, css and JavaScriptDynamic resources ...

Posted by Lexi on Thu, 11 Nov 2021 21:28:45 -0800

Getting started with Servlet - user registration case

23. Getting started with servlet - user registration caseCase - Registration1. Demand15717328695312. Three tier architectureLayering in software: it is divided into different layers according to different functions. It is usually divided into three layers: presentation layer (web layer), business layer and persistence (database) layer.imgNaming ...

Posted by gamber on Thu, 11 Nov 2021 20:36:36 -0800

python data type

This paper summarizes the basic data types in python language, including (int,bool,str,list,tuple,set,dict,none,float) data type methods (unique functions, public functions). Although the content is numerous and cumbersome, you only need to remember the common knowledge points. (article 2W words, according to the directory index) Structure: & ...

Posted by inkel on Thu, 11 Nov 2021 20:13:55 -0800

Experiment 2 compilation and debugging of assembly source program of multiple logic segments

  Experimental task 1 Task 1-1: To program task1_1.asm assembles and connects, loads and tracks debugging with debug, and answers questions based on the results.     question answering: 1. In debug, execute until the end of line17 and before line19. Record this time: register (DS) =__ 076A__, Register (SS) =__ 076B__, Register (CS) =__ 076 ...

Posted by VisionsOfCody on Thu, 11 Nov 2021 19:35:13 -0800

5 tips you don't know about Python classes

Python has many powerful features that provide great flexibility when dealing with classes. Here, I'll show you five advanced techniques that can help you write better code. 1. Create a constant value Suppose we are creating a class Circle. We may need a method to calculate the area and a method to calculate the perimeter: class Circle() ...

Posted by weezil on Thu, 11 Nov 2021 19:30:21 -0800

Introduction to data analysis clarify the basics of python: introduction to python's basic commands and data structures

My programming enlightenment is the c language. I also took java in the University and learned very little. Later, my programming homework mainly depends on python and c + +, but I haven't learned systematically. Generally, I look at other people's code and change it myself. If I don't understand it, I check it temporarily. In fact, the Univers ...

Posted by tullmejs on Thu, 11 Nov 2021 19:19:32 -0800

Golang reflection - Part 1

1. Definition of reflection It's a great source of conflict ~ (quoted from the official blog) Reflection refers to dynamically accessing and modifying the structure and members of objects of any Type at runtime. The reflection package is provided in go language to provide the function of reflection. Each variable has two properties: Type an ...

Posted by sssphp on Thu, 11 Nov 2021 19:19:08 -0800