0、了解哪些东西不应该标准化 命名规则(参考):类、函数和枚举 LikeThis; 变量名 likeThis; 成员变量名likeThis_; 宏名称 LIKE_THIS;1、在高警告级别干净利落地进行编译2、使用自动构建系统3、使用版本控件系统4、在代码审查上投入5、一个实体应该只有一个紧凑...
分类:
编程语言 时间:
2014-10-28 21:27:50
阅读次数:
267
??
You can use the
as operator to perform certain types of conversions between compatible reference types or
nullable types.
The as operator is like a cast operation. However, if the conversion i...
SQL Server 的权限可以分三类 第一类 server 层面上的: select * from sys.fn_builtin_permissions(default) where class_desc like 'server'; 第二类 database 层面: ...
分类:
数据库 时间:
2014-10-28 19:48:02
阅读次数:
174
ClamAntiVirus是一个类UNIX系统上使用的反病毒软件包。主要应用于邮件服务器,采用多线程后台操作,可以自动升级病毒库。ClamAntiVirus(ClamAV)是免费而且开放源代码的防毒软件,软件与病毒码的更新皆由社群免费发布。目前ClamAV主要是使用在由Linux、FreeBSD等Unix-like系统..
分类:
其他好文 时间:
2014-10-28 18:05:12
阅读次数:
251
In my app, I am loading a resource heavy view that takes about 1 to 2 seconds to load. So I am loading it in a separate thread like this:hud = [[MBPro...
1.查询哪些数据库对象使用了某个表SELECT b.[name], a.[definition]FROM sys.all_sql_modules a, sysobjects bWHERE a.[object_id] = id AND definition LIKE '%表名%'2.查询表的某一列,将...
分类:
数据库 时间:
2014-10-28 09:20:31
阅读次数:
213
1.Bundle savedInstanceState it is not persist. it does not share between activities, it is nolyfor one activity. it is saved for soft kill like: 1.o.....
分类:
移动开发 时间:
2014-10-28 07:02:20
阅读次数:
211
You probably knew whatswitchwas going to look like.A case body breaks automatically, unless it ends with afallthroughstatement.package main import ( ....
分类:
其他好文 时间:
2014-10-28 00:45:07
阅读次数:
112
Map literals are like struct literals, but the keys are required.package main import "fmt"type Vertex struct { Lat, Long float64}var m = map[string...
分类:
其他好文 时间:
2014-10-28 00:17:02
阅读次数:
141
detecting locked tables mysql (locked by LOCK TABLE)up vote15down votefavorite7I would like to know whether there is an option to detect locked tables...
分类:
数据库 时间:
2014-10-27 21:09:44
阅读次数:
307