Home >Web Front-end >JS Tutorial >10 recommended articles about practical work

10 recommended articles about practical work

黄舟
黄舟Original
2017-06-14 11:21:011929browse

Preface In actual work, we should often see some code that has no problem in function, but has very poor coding style and specifications. This often makes people afraid to read further, and even affects the reader's mood for the day. These codes are not only difficult to read, but also difficult to maintain. They are usually written by novice programmers who have just started programming, or by experienced programmers who have been working for several years. Therefore, the purpose of this article is to help JavaScript learners who have not developed a good coding style and lack awareness of corresponding coding standards to improve their coding image. coded image Above I proposed the concept of coding image. I personally think: coding image = coding style + coding specification A good coding image is equivalent to a well-dressed young man. For programmers, this is the most direct and simple way for peers to understand your excellent abilities. Let’s take a look at an image of bad coding: //Say hello function func(){ var 

1. How to write good JavaScript

10 recommended articles about practical work

##Introduction : In actual work, we should often see some code that has no problem in function, but has very poor coding style and specifications. This often makes people afraid to read further, and even affects the reader's mood for the day. These codes are not only difficult to read, but also difficult to maintain. They are usually written by novice programmers who have just started programming, or by experienced programmers who have been working for several years. Therefore, the purpose of this article is to help JavaScript learners who have not developed a good coding style and lack awareness of corresponding coding standards to improve their coding image.

2. Make your JavaScript coding more standardized

10 recommended articles about practical work

##Introduction: In actual work, we should often see some codes that have no problems in function, but have very poor coding style and specifications. This often makes people dare not read any more, and even affects reading. the mood of the day. The purpose of this article is to help JavaScript learners who have not developed a good coding style and lack awareness of corresponding coding standards to improve their coding image.

3.

Detailed code examples of 12 very practical JavaScript tips

10 recommended articles about practical work

Introduction: In this article, I will share with you 12 tips about JavaScript. These tips may help you solve some problems in your actual work. Use the !! operator to convert Boolean values ​​Sometimes we need to check whether a variable exists or check whether the value has a valid value, and return a true value if it exists. In order to do such verification, we can use the !! operator, which is very convenient and simple. You can use !!variable to detect variables. As long as the value of the variable is: 0, null, ' ', undefined or NaN, false will be returned..

##4.

How to use dependency injection in webapi

10 recommended articles about practical work##Introduction: This article will share with you how to use dependency injection in webapi Use dependency injection. Dependency injection is commonly used in interfaces and is also used frequently in actual work. Therefore, two methods of dependency injection in APIs, Ninject and Unity, are shared here. Let’s take a look with the editor below

5. Java thread pool that supports production blocking

10 recommended articles about practical workIntroduction: Among various concurrent programming models, the producer-consumer model is probably the most commonly used. In actual work, there is usually a trade-off between the speed of production and consumption

6. In-depth understanding of HTML forms

10 recommended articles about practical work

Introduction: From HTML to HTML5, form-related elements have been greatly expanded and can basically meet our common needs. But in actual work, due to the need for interaction or browser compatibility, native form elements sometimes have to be extended or simulated. But before that, it is still important to clearly understand and master the various form elements. In this article, we will explain the form elements (HTML5 form elements by default) in detail.

7. Some suggestions for writing css

10 recommended articles about practical work

##Introduction: JavaScripty has embarked on the road of engineering. Various mvm and mvvm frameworks have been dizzying. We will not discuss js here. Let me talk about some of my experience in writing CSS in actual work. Of course, many people have also summarized this experience. What I am talking about is definitely not as good as those written by some big names. I just simply bring out my work experience and compare it with Share it with everyone.

8. 【CSS Notes 10】Tips for CSS style setting

10 recommended articles about practical work

##Introduction: In actual work, we often encounter scenarios where horizontal centering is required. For example, for the sake of beauty, the title of an article is generally displayed horizontally and centered.

9.

javascript - Questions about the difference between some ideas

Introduction: I often see 1. Object-oriented programming 2. Modular programming 3. Functional programming do these three refer to the same idea? In actual work, it seems that problems have always been solved and no special attention is paid to the obvious differences between the three ideas. ?

10.

Java/Scala Interop Practice 1: Basic Operations

10 recommended articles about practical work

Introduction: This article will take Spring Boot as an example to introduce Java/Scala interoperability in actual work. While improving personal efficiency and satisfying self-pursuit, we should take more care of the actual conditions of different people in the team. At the same time, I also want to illustrate that it is possible to mix Java and Scala languages ​​​​in the same project.

[Related Q&A recommendations]:

javascript - An interview question, how to prevent link jumps in HTML?

php - Do you have any recommendations for good design patterns or architecture books that focus on practical application scenarios?

How to write object-oriented examples in php?

linux - How to install mysql-devel without root permissions?

javascript - What are some practical js design patterns in actual work and production?

The above is the detailed content of 10 recommended articles about practical work. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn