Java
共 8 篇文章。
一个job offer
要求:someone who’s going to change his job, or simply a free lancer。
there’s a redemption (點數換贈品) system to be implemented. if he/she wants to work on site, there’re offices in sh/bj. please mail CV to cpyang [at] gmail.com.
Sun计划以GPL发布Java?
尽管仍然有些怀疑这篇报道的真实性,但无论如何,总归是件好事。
4个程序员的一天zz
From: https://www.cnblogs.com/linkcd/archive/2005/07/19/196087.html
【声明:本文没有贬低某个编程语言的意思】
你,一个DotNet程序员,刚刚加入一个新项目组。除了你之外,其他的成员包括:Ceer,一直从事C项目的程序员,他刚刚转入C#不到一个月;Jally,整天抱着本Design Pattern(没错,就是GoF的那本)在啃的前Java程序员;以及Semon,你对他完全不了解,只是听PM介绍说他是搞Scheme的(传说中的第二古老的语言LISP的方言之一)。不过你也没在意,毕竟计算机这玩意,老东西是不吃香的。
周一,刚打开电脑,老板就跑到你们组的办公座面前:“好吧,伙计们,现在有个function需要你们来搞定。具体是这样的:用户输入2个数,并输入一个操作符。你根据输入的情况来得出相应的运算结果。”
Example:Foo(+, 1, 2) = 3; Foo(*, 3, 6) = 18; Foo(/, 2, 4) = 0.5
Ceer最先作出反应:简单嘛,判断一下输入的操作符就好了。说着,他很快在白板上写出如下代码:
| |
jdk 1.4.2 patchset 7 released
This should be considered as a “security release” somewhat. I’m building package for it at company’s buildbox, and it would be deployed internally.
令人呕吐的Java DK
一直以为自己能够调试所有的程序,因为我一直以能够不依赖IDE调试,用一组assert,printf就能改掉别人花几个礼拜也没办法track down的东西,然而今天JDK让我折服了,用Java写的程序,如果没有IDE,简直就不具备可调试性!
Why choosing a prime number is common practise in the size of a hash table?
It’s a common practise to choose a prime number as the hast table size. This article has analyzed Java’s implementation.
Profile-based compile optimization
junsu has pointed out that gcc has the ablity to do profile, record the data and optimize the generated code according to the data. The nearest compiler guru I can visit is Prof. Husheng LIAO (sorry, the link here is not available to the Internet at the time writing, but this is hopefully to be changed soon) who recently concentrate his research in optimization for the Java Language Compiling process.
Further information will be available here soon.