<?php /** * Whoops - php errors for cool kids * author Filipe Dobreira */ namespace Whoops; use InvalidArgumentException; use Whoops\Exception\ErrorException; use Whoops\Exception\Inspector; use Whoops\Handler\CallbackHandler; use Whoops\Hand
容易出错
Error Prone是Java的静态分析工具,可在编译时捕获常见的编程错误。
public class ShortSet {
public static void main ( String [] args ) {
Set s = new HashSet ();
for ( short i = 0 ; i < 100 ; i ++ ) {
s . add(i);
s . remove(i - 1 );
}
Syste