- 博客(11)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
翻译 Step Back and Automate, Automate, Automate
Step Back and Automate, Automate, AutomateCay HorstmannI WORKED WITH PROGRAMMERS WHO, when asked to produce a count of the lines of code in a module, pasted the files into a word processor and used its
2015-06-16 09:01:03 1329
翻译 Start from Yes
Start from YesAlex MillerRECENTLY, I WAS AT A GROCERY STORE, searching high and low for “edam- ame” (which I only vaguely knew was some kind of a vegetable). I wasn’t sure whether this was something I’
2015-06-16 09:00:20 1450
翻译 The Single Responsibility Principle
The Single Responsibility PrincipleRobert C. Martin (Uncle Bob)ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those things that change for the same reason, and separate tho
2015-06-11 08:58:36 1496
翻译 Simplicity Comes from Reduction
Simplicity Comes from ReductionPaul W. Homer“DO IT AGAIN…,” my boss told me as his finger pressed hard on the Delete key. I watched the computer screen with an all-too-familiar sinking feeling, as my c
2015-06-11 08:57:31 1451
翻译 Resist the Temptation of the Singleton Pattern
Resist the Temptation of the Singleton PatternSam SaaristeTHE SiNGLETON PATTERN SOLVES MANY OF YOUR PROBLEMS. You know that you only need a single instance. You have a guarantee that this instance is i
2015-06-06 08:07:45 1809
翻译 The Road to Performance Is Littered with Dirty Code Bombs
The Road to Performance Is Littered with Dirty Code BombsKirk PepperdineMORE OFTEN THAN NOT, performance tuning a system requires you to alter code. When we need to alter code, every chunk that is over
2015-06-06 08:07:08 1578
原创 iOS开发 -NSUserDefaults 轻量级快速存储
IOS提供了一个轻量级的快速数据存储方式:NSUserDefaults; 程序运行的时候从用户默认的数据库中读取程序的设置,同时NSUserDefaults的缓存避免了在每次读取数据时候都打开用户默认数据库的操作,所有数据都放在内存中,读写速度很快。NSUserDefaults是一个单例,在整个程序中只有一个实例对象,他可以用于数据的永久保存,而且简单实用,这是它可以让数据自由传递的一个前提,也是
2015-06-04 18:00:55 2412
翻译 Reinvent the Wheel Often
Reinvent the Wheel OftenJason P. SageJust use something that exists—it’s silly to reinvent the wheel…. HAVE YOU EVER HEARD THiS OR SOME VARiATiON THEREOF? Sure you have! Every developer and student pr
2015-06-04 10:23:51 1534
翻译 Read the Humanities
Read the HumanitiesKeith BraithwaiteiN ALL BUT THE SMALLEST DEVELOPMENT PROjECT, people work with people. In all but the most abstracted field of research, people write software for people to support t
2015-06-04 10:23:02 1457
原创 iOS开发 -"ASI"使用实例
ASI#import "ViewController.h"#import "ASIHTTPRequest.h"@interface HMViewController () <ASIHTTPRequestDelegate>@property (nonatomic, strong) ASIHTTPRequest *request;@end@implementation HMViewControll
2015-06-01 10:21:46 2490
原创 iOS开发 - HTTP终结者 "ASI"
ASI全称是ASIHTTPRequest,外号“HTTP终结者”,功能十分强大 基于底层的CFNetwork框架,运行效率很高 可惜作者早已停止更新,有一些潜在的BUG无人去解决 很多公司的旧项目里面都残留着它的身影,以前的很多iOS项目都是ASI + SBJson 会不会用ASI,可以算是检验是否为老牌iOS程序员的标准之一ASI的github地址 https://github.com/
2015-06-01 10:05:28 2775 2
架构师应该知道的97件事
2015-05-05
装了mac 的fiddler,电脑配置就被修改了
2015-06-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人