网络服务器软件开发/中间件开发,关注ACE/ICE/boost

C++博客 首页 新随笔 联系 聚合 管理
  152 Posts :: 3 Stories :: 172 Comments :: 0 Trackbacks

真是无语了,为什么很多人喜欢在代码中写错别字呢?而且是发现了也不改正,任其一直错下去,显示自己很忙?做大事不拘小节?
//UPD通信数据结构如下   ->UDP
其它的就不举例了

posted on 2008-06-24 17:01 true 阅读(479) 评论(5)  编辑 收藏 引用 所属分类: 开发感想

Feedback

# re: 为什么很多人喜欢在代码中写错别字呢 2008-06-25 14:56 子弹
说不定UPD是其他几个单词的缩写呢?  回复  更多评论
  

# re: 为什么很多人喜欢在代码中写错别字呢 2008-06-25 16:04 true
这个估计会让你吐血,
Int TimeLenperhour; //1分钟内的通话时长(秒)
注释是正确的,但命名应该将hour改为minute吧,什么时候我做总监,这样的人统统开除  回复  更多评论
  

# re: 为什么很多人喜欢在代码中写错别字呢[未登录] 2008-06-25 16:41 Kevin Lynx
比较有意思的:

/// my fucking and ugly sorted queue only for ServerInfo struct, because i want
/// everytime i push_back an element in the queue, it will update the element
/// which _ls_id && _ws_id && _gs_id already existes.I adapted this queue so that
/// it can be used in my multi_list. :D I'm a such programmer
template <typename _Tp, typename _AllocType = std::allocator<_Tp> >
class my_fucking_list;

/// partial version for ServerInfo
template <typename _AllocType>
class my_fucking_list<ServerInfo, _AllocType>
{
public:
  回复  更多评论
  

# re: 为什么很多人喜欢在代码中写错别字呢 2008-06-25 16:49 true
@K,这样的代码应该就是玩玩吧,呵呵,有意思  回复  更多评论
  

# re: 为什么很多人喜欢在代码中写错别字呢[未登录] 2008-06-25 17:13 Kevin Lynx
@true
事实上是我写的. :D 我写着玩,但是被用到我们的产品里。  回复  更多评论
  


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理