Initial typescript, you can discuss the suggestions and learn from each other.

Typeescript is a superset of js, and TypeScript extends it JavaScript So any existing JavaScript program can work under TypeScript unchanged. TypeScript is designed for the development of large applications, and it generates JavaScript at compile time to ensure compatibility. This language adds class-based object-oriented programming to help us ...

Posted by ouch! on Thu, 16 May 2019 18:38:27 +0200

Kotlin's Road - Starting Chapter

Summary At the 2017 Google Developers Conference, Google officially listed kotlin as its official language. So, what's the power of kotlin? In short, using kotlin can make the code more concise and readable, while supporting functional programming, 100% compatible with the old development language - Java, and there are many practical grammar ...

Posted by metalenchantment on Thu, 16 May 2019 17:06:36 +0200

Detailed Source Analysis of Android Volley Framework

Preface We are familiar with Android network programming, but we have to ask, do we really know Volley? How is Volley implemented internally? Why can a few lines of code quickly build a network request? We should not only know what it is, but also know why it is. For this purpose, this paper mainly describes the source code of ...

Posted by marker5a on Thu, 16 May 2019 13:56:19 +0200

Java Multithreaded Programming Foundation 1 (Basic Thread Mechanism, Thread Scheduler, Thread State)

Article Citation 1 java programming ideas Chapter 21 Basic threading mechanism p653 2 http://www.jb51.net/article/105487.htm 3 https://zhidao.baidu.com/question/1542633956525518747.html 1. Basic threading mechanisms Concurrent programming allows us to say that programs are divided into separate, independen ...

Posted by jarow on Thu, 16 May 2019 08:40:46 +0200

Executor of Concurrent Programming (3)

Preface: We've learned about the top-level blocking queues of concurrent packages. This article introduces the blocking queue-based implementers. Executor structure 1: Executor interface: public interface Executor{    void execute(Runnable command); } Top-level interface design is good, single responsibility principle, the ...

Posted by Darkpower on Thu, 16 May 2019 08:11:34 +0200

Preliminary guide to JavaScript prototypes

You can't go far in JavaScript without learning how to handle objects.They are the basis for almost every aspect of the JavaScript programming language.In fact, learning how to create objects may be the first thing you start learning. The object is a key/value pair.The most common way to create an object is to use curly brackets {} and add attr ...

Posted by ironside82 on Thu, 16 May 2019 05:13:21 +0200

day 04 list tuple range

First, list Included in [], each element is separated by "," and various data types can be stored. Compared with strings, lists can store not only different data types, but also large amounts of data. 32-bit python can store: 536870912 elements, 64-bit can store: 1152921504606846975 elements. Lists are ordered (in order of preservatio ...

Posted by Heatmizer20 on Thu, 16 May 2019 05:09:26 +0200

epoll Timer Implementation Series: Time Wheel for High Performance Timer

http://blog.csdn.net/jasonliuvip/article/details/23888851 As we mentioned earlier, there is a problem with sorted list-based timers: adding timers is inefficient.The time frame we discuss below solves this problem. In the figure, this is a simple time wheel: The solid pointer in the wheel points to a slot on the whee ...

Posted by 696020 on Wed, 15 May 2019 22:39:28 +0200

Python Learning Notes: Day 10 User Registration and Login

Preface Recently, in the study of in-depth learning, several models have been run out, but the foundation of Pyhton is not solid enough. Therefore, we began to tutor Python. Everyone recommended Liao Xuefeng's course. Therefore, we started to learn, but whether optics is useful or not. We also need to discuss with you. Therefo ...

Posted by fortnox007 on Wed, 15 May 2019 16:56:40 +0200

Advanced tutorials on Python crawlers and data analysis: file manipulation, lambda expressions, recursion, yield generator

Python crawler and python teaching video of data analysis, Python source code sharing, Python Python crawler and basic data analysis tutorial: Python grammar, dictionary, tuples, lists Advanced tutorials on Python crawlers and data analysis: file manipulation, lambda expressions, recursion, yield generator Python crawler and data analysis mo ...

Posted by dormouse1976 on Wed, 15 May 2019 10:49:26 +0200