陆续把我的Blog从cublog搬过来,那边没人讨论Java、JEE、Ruby等领域:)
Why more and more people prefer Ruby to Java? Because Sun is killing Java step by step..., I think, Java5.0 is the start...
Look the Ugly new feature in Java5.0 below,
import junit.framework.TestCase;
public class IntegerIntTest extends TestCase {
public void testIntegerIntEq() {
int i = 1;
Integer intObj = i;
assertTrue(intObj == i);
}
public void testIntegerIntNotEq() {
int i = 1;
Integer intObj = new Integer(i);
assertTrue(i == intObj);
}
public void testIntegerObj() {
int i = 1;
Integer intObj1 = new Integer(i);
assertTrue(intObj1 == i);
Integer intObj2 = new Integer(i);
assertTrue(intObj2 == i);
//????!
assertTrue(intObj2 == intObj1);
}
}
This feature breaks the transition law: If A==B and B==C, then A==C.
Sun's guys are making Java ugly and dirty... Maybe it's the time to enjoy the beauty of Ruby:(
分享到:
相关推荐
Ugly-PHP-Blog简介也叫作UPB,这是我自己写的博客系统,也正运行于我的服务器之上,域名之下.麻雀虽小,五脏俱全.设计目标是轻量,简单,安全的php博客系统.Markdown编辑, 文章分类管理, 支持评论, 计数器, 单用户, 具有...
The Good, The Bad, and the ugly, The UNIX Legacy.pdf 专家观点 UNIX的美与丑!
创建 React 应用程序入门 这个项目是用引导的。 可用脚本 在项目目录中,您可以运行: yarn start 在开发模式下运行应用程序。 打开在浏览器中查看。 如果您进行编辑,页面将重新加载。 您还将在控制台中看到任何 ...
丑陋的电子邮件跟踪器电子邮件跟踪器列表。格式使用@@=作为唯一的分隔符。 NAME@@=REGEX
丑如罪 的mod,添加了各种可选功能和机制。 最初以HD-Scavenger开头,专注于长期的“生存”功能,但后来Swift扩展为通用增强型mutator。 特征 通常将功能实现为具有各种可自定义设置的可切换模块。...
Length Arrays and alloca() Friends Exceptions Run-Time Type Information (RTTI) Casting Streams Preincrement and Predecrement Use of const Integer Types 64-bit Portability Preprocessor Macros 0 and ...
初级java笔试题 丑陋的自动机 用于生成元胞自动机的算法集合。 目前仅包含“基本元胞自动机”或 Wolfram 书中的酷图片。 特征 提供一个 Automata::Elementary 类,该类采用规则编号、初始状态以及 #run(steps) 方法...
丑陋的 在 Java 中测试一些 OpenGL
with Macromedia Flex by Steven Webster and Alistair McLeod and immediately fell in love with the Flex framework. There was only one problem: it was expensive. It was going to be a hard sell for any ...
pku acm1338 Ugly Numbers 代码 动态规划思想,采用链表实现,解题报告请访问:http://blog.csdn.net/china8848
这将用适当的GIF替换每个页面上所有出现的“:ugly:”。 在每个页面上使用您喜欢的丑陋或roto2表情符号。 还包含其他几个动画GIF丑陋::ugly::uglyconfused::uglycrazy::uglydance::uglyhammer::...
AutoJs源码-wzry.ugly.min.ugly.min.ugly.min.ugly.min.ugly.min.ugly.min。本资源购买前提醒:本源码都是实际autojs项目模板,安装好autojs直接运行即可打开。1、支持低版本autojs。2、资源仅供学习与参考,请勿...
The class label and each of the feature/value pairs are separated by a space character. Feature/value pairs MUST be ordered by increasing feature number. Features with value zero can be skipped. The +...
pku acm 1338 Ugly Numbers代码 动态规划思想,数组实现 解题报告请访问:http://blog.csdn.net/china8848
Pointers allow new and more ugly types of bugs, and pointer bugs can crash in random ways which makes them more difficult to debug. Nonetheless, even with their problems, pointers are an irresistibly...
java lru leetcode leetcode-java leetcode刷题笔记 已做题目列表 1.Two Sum 3.Longest Substring Without Repeating Characters 5.Longest Palindromic Substring 20.Valid Parentheses 26.Remove Duplicates from ...
And we use the most ugly GUI tool Java Swing to build the most ugly page I have never seen before.. 以上均为吐槽,请勿当真,当真也行 以下为项目开发规范 基本结构: . ├── Controlers ├── Models ├──...
bring about even worse examples of ugly and illegible web typography. In order to avoid this, we have put together Smashing Magazine՚s best articles on web typography with one additional article ...
资源来自pypi官网。 资源全名:augly-0.1.9-py3-none-any.whl