Home Backend Development PHP Tutorial Looking for bad code smells in the project (variety naming)_PHP tutorial

Looking for bad code smells in the project (variety naming)_PHP tutorial

Jul 20, 2016 am 10:58 AM
introduce code but content name exist Look for Add to of this channel

Introduction

Today I want to add some content to the variety show channel, but the word variety show is too difficult to handle (mainly because my English is not very good). I excerpt the entire naming process below.

Comic Chapter

Look up the dictionary

This is the way I am more accustomed to. Open the dictionary, put Chinese in it, and see what good names it can give me.

variety, I remember it seems to mean type, I will check it carefully.

Almost let the dictionary fool me, I'd better look at how other people named it.

Website

1. Youku website

This is obviously a "variety show" "The abbreviation of Hanyu Pinyin?" ——I have read many books and told people not to use Chinese names. Then let me see how other video websites are named.

2. Qiyi (oh, by the way, the name was changed to "iQiyi". Why did you change the name? I heard someone said that the government was afraid of someone "uprising", so it changed its name to "iQiyi" ", but isn't this name even more outrageous! - "Love Uprising".

Isn't Qiyi from Baidu? Then why not call it "Baidu Qiyi"? Then the government should have no excuses Right? ——"White Uprising")

Is this directly the pinyin of the variety show! ——It seems to be similar to Youku!

3. LeTV

 

This is the same as the name of Qiyi.

If Chinese ones don’t work, then try foreign ones.

4. youtube

After reading a row of text, this Entertainment seems to refer to variety shows, but in our dictionary the translation is "entertainment". But it’s right to call variety shows “entertainment.” Anyway, the media now calls variety shows entertainment shows.

Based on the above, the available words are: zy, zongyi, entertainment

Choose

I think entertainment is more appropriate, so I chose it first This name, the code is as follows:

This name is too long and looks extremely uncomfortable.

Finally I decided to use zy, and I capitalized both letters.

ZY: I think this is easy to understand and very intuitive. And my code contacts don’t seem to be from other countries. They are all Chinese. They should be able to understand this, right? ——Who said Chinese pinyin is not as good as English? Sometimes the use of Chinese just right for the atmosphere can also play a finishing touch.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445672.htmlTechArticleIntroduction Today I want to add some content to the variety show channel, but the word variety show is too difficult to handle (mainly because of my English Not too good). I excerpt the entire naming process below. Comics...
Statement of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to add a TV to Mijia How to add a TV to Mijia Mar 25, 2024 pm 05:00 PM

Many users are increasingly favoring the electronic ecosystem of Xiaomi smart home interconnection in modern life. After connecting to the Mijia APP, you can easily control the connected devices with your mobile phone. However, many users still don’t know how to add Mijia to their homes. app, then this tutorial guide will bring you the specific connection methods and steps, hoping to help everyone in need. 1. After downloading Mijia APP, create or log in to Xiaomi account. 2. Adding method: After the new device is powered on, bring the phone close to the device and turn on the Xiaomi TV. Under normal circumstances, a connection prompt will pop up. Select "OK" to enter the device connection process. If no prompt pops up, you can also add the device manually. The method is: after entering the smart home APP, click the 1st button on the lower left

How to change the Microsoft Edge browser to open with 360 navigation - How to change the opening with 360 navigation How to change the Microsoft Edge browser to open with 360 navigation - How to change the opening with 360 navigation Mar 04, 2024 pm 01:50 PM

How to change the page that opens the Microsoft Edge browser to 360 navigation? It is actually very simple, so now I will share with you the method of changing the page that opens the Microsoft Edge browser to 360 navigation. Friends in need can take a look. I hope Can help everyone. Open the Microsoft Edge browser. We see a page like the one below. Click the three-dot icon in the upper right corner. Click "Settings." Click "On startup" in the left column of the settings page. Click on the three points shown in the picture in the right column (do not click "Open New Tab"), then click Edit and change the URL to "0" (or other meaningless numbers). Then click "Save". Next, select "

GE universal remote codes program on any device GE universal remote codes program on any device Mar 02, 2024 pm 01:58 PM

If you need to program any device remotely, this article will help you. We will share the top GE universal remote codes for programming any device. What is a GE remote control? GEUniversalRemote is a remote control that can be used to control multiple devices such as smart TVs, LG, Vizio, Sony, Blu-ray, DVD, DVR, Roku, AppleTV, streaming media players and more. GEUniversal remote controls come in various models with different features and functions. GEUniversalRemote can control up to four devices. Top Universal Remote Codes to Program on Any Device GE remotes come with a set of codes that allow them to work with different devices. you may

Considerations for parameter order in C++ function naming Considerations for parameter order in C++ function naming Apr 24, 2024 pm 04:21 PM

In C++ function naming, it is crucial to consider parameter order to improve readability, reduce errors, and facilitate refactoring. Common parameter order conventions include: action-object, object-action, semantic meaning, and standard library compliance. The optimal order depends on the purpose of the function, parameter types, potential confusion, and language conventions.

How to add a new script in Tampermonkey-How to delete a script in Tampermonkey How to add a new script in Tampermonkey-How to delete a script in Tampermonkey Mar 18, 2024 pm 12:10 PM

Tampermonkey Chrome extension is a user script management plug-in that improves user efficiency and browsing experience through scripts. So how does Tampermonkey add new scripts? How to delete the script? Let the editor give you the answer below! How to add a new script to Tampermonkey: 1. Take GreasyFork as an example. Open the GreasyFork web page and enter the script you want to follow. The editor here chooses one-click offline download. 2. Select a script. , after entering the script page, you can see the button to install this script. 3. Click to install this script to come to the installation interface. Just click here to install. 4. We can see the installed one-click in the installation script.

Outlook stuck on adding account [Fixed] Outlook stuck on adding account [Fixed] Mar 23, 2024 pm 12:21 PM

When you encounter problems adding accounts in Outlook, you can try the following solutions to resolve it. Typically this can be caused by a faulty network connection, corrupted user profiles, or other temporary issues. Through the methods provided in this article, you can easily solve these problems and ensure that your Outlook can run normally. Outlook stuck on adding account If your Outlook is stuck on adding account, then use these fixes mentioned below: Disconnect and reconnect the internet Temporarily disable antivirus software Create a new Outlook profile Try adding account in safe mode Disable IPv6 Run Microsoft Support and Recovery Assistant Repair Office Application Outlook Add Account Required

Where is the place where the candlelight shines in Destiny Ark? Where is the place where the candlelight shines in Destiny Ark? Mar 20, 2024 pm 05:46 PM

The opening of a new version of the new map of Ark of Destiny also has a new reputation mission. In addition to the Rowan map, there is also a daily mission on the Wisdom Island. The prerequisite mission is started from Belongnan. Many friends have achieved the goal of "finding the right map". There is no guidance for this link "The place where the candlelight shines". I am also curious about the specific location. Here is the guide for this task! The guide for the mission of Destiny Ark to find the place where the candlelight shines is in the room in the Wisdom Island. There is also a corridor in the hall, which can lead to the basement. When you walk in, you can see the location of the subsequent tasks, as shown in the picture:

How to set up Cheat Engine in Chinese? Cheat Engine setting Chinese method How to set up Cheat Engine in Chinese? Cheat Engine setting Chinese method Mar 13, 2024 pm 04:49 PM

CheatEngine is a game editor that can edit and modify the game's memory. However, its default language is non-Chinese, which is inconvenient for many friends. So how to set Chinese in CheatEngine? Today, the editor will give you a detailed introduction to how to set up Chinese in CheatEngine. I hope it can help you. Setting method one: 1. Double-click to open the software and click "edit" in the upper left corner. 2. Then click “settings” in the option list below. 3. In the opened window interface, click "languages" in the left column

See all articles