新项目的命名约定 [英] Naming convention for new projects

查看:74
本文介绍了新项目的命名约定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试过几次以给出这个问题的答案.我对我的商店中项目的命名方式不满意,通常以以下项目中的一些随机命名:

I've tried several times to come with an answer to this question. I'm not happy with how projects are named in my shop, they are usually random named after some of these items:

  • 客户
  • 项目中已经/或预计将要使用的某些技术
  • 该项目将与之相关的业务案例的首字母缩写
  • 项目所在域中的一些名称

我发现这些方法有几个缺点:

I find several drawbacks with those approaches:

  • 当您有很多类似的项目时,单词池很快就会干
  • 在项目中使用客户名称会使将其抽象为通用产品变得更加困难
  • 首字母缩写通常听起来很可怕
  • 有许多项目无法通过原型阶段,因此,它们没有合适的名称
  • 在确切地知道项目的用途之前很难给它命名,因此在大多数情况下,为svn和问题跟踪项目选择的名称都是错误的.

请告诉我:

您的商店中的命名约定是什么,您是否满意?如果需要,您会选择什么?

谢谢!

推荐答案

名称是什么?一切. 确保名称有趣,独特,并显示出您所生产产品的价值.基于功能的名称是必经之路,但它不应定义您在做什么,而应以一个单词词与您正在开发的内容有某种关系.

Whats in the name? EVERYTHING. Make sure the name is interesting, unique and shows the worth of the product you are making. Names based on functionality is the way to go, but it should not define what are you doing rather a single word term that has somehow has a relation with what you are developing.

我经常选择当地语言的项目名称(在我的情况下为urdu).

I often pick my project names in local language (urdu in my case).

即使您必须插入客户名称,通常也将忽略该客户名称来调用该产品,因此,如果为产品选择强名称就没关系了.

Even if you have to insert client name, usually the product would be called ignoring the client name so it doesnt matter much if you pick strong name for your product.

仅举一个例子,我将我写的国际象棋引擎命名为"Shaatir".在乌尔都语中意味着

Just to give an example, I named the chess engine I wrote "Shaatir". In urdu it means

  1. 非常强大的棋手
  2. 狡猾/聪明的人
  3. 放下陷阱的人
  4. 邪恶.

每种含义之一都与我的程序相关.

Each one of the meaning somehow relates to my program.

编辑:您还可以在产品中添加标语.不知道为什么这个想法在软件行业不那么流行.虽然有几个例子.就像"UBUNTU- Linux for humans".将香料添加到您的产品中.

You can also add a slogan to your product. Not sure why the idea is not so popular in the software industry. There are few examples though. Like "UBUNTU- Linux for human beings". Adds spice to your product.

这篇关于新项目的命名约定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆