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

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

Jul 21, 2016 pm 03:17 PM
php code name exist dictionary Look for Open Way check Compare comics of this

漫画篇

查字典

  这个是我比较习惯的方式,打开字典,把中文放进去,看它能给我什么好的名字。

                                  

                                   
variety,我记得好像是种类的意思,再细查下。

                                   

差点让字典骗了我,我还是看看其他人是怎么命名的。

网站

1、优酷网站

                                  

这明显是"综艺“的汉语拼音的缩写吗?——我好多书和人说建议不要用中文名字。那我看看其他视频网站是怎么命名的。

2、奇艺(哦,对了,改名了,叫“爱奇艺”了。为什么改这名字?好像听人说政府怕有人“起义”,故改名叫“爱奇艺”,但是这名字不是更离谱吗!——“爱起义”。     

  奇艺不是百度的吗?那为什么不叫”百奇艺“呢?这样政府就应该不会有理由了吧?——”白起义“)

                                  

这个直接就是综艺的拼音吗!——好像跟优酷异曲同工之处啊!

 

3、乐视

                                  

这个跟奇艺起名是一样的。

中国的不行,那就试试国外的。

4、youtube

                                  

看了一排文字,这个Entertainment好像就指的是综艺,但是在我们字典中翻译是“娱乐”。但是把综艺节目说成“娱乐“也对,反正现在媒体都管综艺节目叫娱乐节目。

综合以上,可供选择的单词:zy、zongyi、entertainment

选择

我觉得entertainment比较贴切,所以就先选择了这个名字,代码如下:

                                  

这个名字太长了,看着极不舒服。

 

最后我决定使用zy了,而且我把这两个字母都大写了。

                                  

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.

Summary

Maybe there are many people who disagree with my name. I hope everyone can give me a good reason. I also hope that everyone can give me more valuable opinions.

Recommended

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/325618.htmlTechArticleLooking up comics in the dictionary is the way I am more accustomed to. Open the dictionary, put the Chinese in, and see what it can do. What a good name for me. Variety, I remember it seems to mean variety, and if I check more...
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)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months 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)

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

In this chapter, we are going to learn the following topics related to routing ?

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

CakePHP Creating Validators CakePHP Creating Validators Sep 10, 2024 pm 05:26 PM

Validator can be created by adding the following two lines in the controller.

CakePHP Working with Database CakePHP Working with Database Sep 10, 2024 pm 05:25 PM

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

See all articles