Martin Fowler引起的关于MinimalInterface和HumaneInterface争论上周粗略浏览过。
今天sishen在自己blog上作了一些总结,同时zhouyan在BBS上也说起同样的问题。
引用
写个程序用到java.util.regex.Matcher。这个类有find()、find(int)、lookingAt(),可就是没有lookingAt(int)。只好写一段程序自己实现。
后来觉得不爽,google了一下原来在1.4的时候就有人把“没有lookingAt(int)”作为一个bug报上去了。sun给的答复“Closed, will not be fixed”,理由是在5.0版本里面已经提供了region(int, int),通过它和lookingAt()就可以实现lookingAt(int)的功能。拜托,就算这样,你加一个lookingAt(int)会有多少工作量啊,能节省coder多少时间。而且,find、find(int)都不会reset该Matcher的,而region则会reset。万一碰到需要lookingAt(int)但是不能reset的时候你叫人家怎么办呢?
More:
http://jack.lifegoo.com/?p=68
分享到:
相关推荐
3. **tez-api-0.10.1-SNAPSHOT.jar**:API(Application Programming Interface)文件提供了开发人员编写Tez应用程序所需的接口和类库。 4. **tez-runtime-library-0.10.1-SNAPSHOT.jar**:运行时库,包含Tez执行...
标题中的“Samsung Intel Citrix Mini-OS minimal Posix”指的是一个特定的操作系统环境,它是由三星(Samsung)、英特尔(Intel)和思杰(Citrix)合作开发的,主要用于嵌入式设备或轻量级计算场景。这个Mini-OS是...
2. 安装驱动程序:对于"adb interface usb driver",可能需要特定的驱动程序,例如Google的Universal ADB Driver或第三方工具如“Minimal ADB and Fastboot”。安装这些驱动后,电脑应该能识别到你的手机。 3. 驱动...
compiled application programs and a minimal environment for support of instal- lation scripts. Its purpose is to document a standard binary interface for applica- tion programs on systems that ...
4. EFI兼容:rEFInd设计用于EFI(Extensible Firmware Interface)系统,这是现代计算机的BIOS替代品。 Manjaro Linux的特点包括: 1. AUR支持:Manjaro提供了对Arch User Repository (AUR)的集成,使得用户能够...
LocationMapViewer An app that can display geografic info in a map. It has support for gpx and ...Minimal requirements: Android 2.3.7 (API 10), internet/wifi-connection to download geodata and a SD-Card t
Wintab* Interface Specification 1.1: 16- and 32-bit API Reference By Rick Poyner Revised February 11, 2012 This specification was developed in response to a perceived need for a standardized ...
Small installation file Clean and simple user interface Quick file indexing Quick searching Minimal resource usage Share files with others easily Real-time updating
achieve wireless connectivity through the SPI/SDIO interface. ESP8089 allows direct connection to cellular baseband and application processors via SPI/ SDIO or memory-mapped parallel interfaces. Its ...
By the end of the book, you will be able to leverage the Django framework to develop a fully functional web application with minimal effort. Table of Contents Chapter 1. Introduction to Django ...
It defines a low-cost interface that is optimized for minimal power consumption and reduced interface complexity. ... You can use it to access the programmable control registers of peripheral devices...
PEP 3333: Python Web Server Gateway Interface v1.0.1 Other Language Changes New, Improved, and Deprecated Modules email elementtree functools itertools collections threading datetime and time ...
Everything search engine Small installation file Clean and simple user interface Quick file indexing Quick searching Minimal resource usage Share files with others easily Real-time updating More...
在windows下的小众查找工具;Small installation file Clean and simple user interface Quick file indexing Quick searching Minimal resource usage Share files with others easily Real-time updating
Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in iPhone and iPod touch programming....
The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service ...
您还可以使用ng generate directive|pipe|service|class|guard|interface|enum|module 。建造运行ng build来构建项目。 构建工件将存储在dist/目录中。 使用--prod标志进行生产构建。运行单元测试运行ng test以通过...
The Ultimate edition of VMProtect allows to add serial numbers to the protected application with minimal efforts. The feature is supported by PayPro Global e-commerce provider, so you even don’t need...
Everything search engine ...Clean and simple user interface Quick file indexing Quick searching Minimal resource usage Share files with others easily Real-time updating More...ers by name instantly.