Program Development in Java Preface
程序開發原理
——抽象、規格與面向對象設計
Barbara Liskov 、John Guttag 著
關於翻譯風格:
C++ Tricks 3.2 標號、goto,以及switch的實現
3.2 標號、goto,以及switch的實現
goto語句及標號(label)是最古老的C語言特性,也是最早被人們拋棄的語言特性之一。像彙編語言中的jmp指令一樣,goto語句可以跳轉到同一函數體中任何標號位置:
void f()
{int i
C++ Tricks 3.1 左值右值與常量性(lvalue,rvalue & constant)
3.1 左值右值與常量性(lvalue,rvalue & constant)
首先要搞清楚的是,什麼是左值,什麼是右值。這裏給出左值右值的定義:
1、左值是可以出現在等號(=)左邊的值,右值是隻能出現在等號右邊的值。
2、左值是可
天國的階梯
每間公司都有一個「女皇」,我任職的律師行也不例外。當我還未戒奶,「女皇」已經崛起,三十出頭就升做equity partner,隻手遮天,成為法律界的奇葩。她每日戴著鵪鶉蛋般大的鑽石戒指,從山頂獨立屋到中環上班。毛主
Weekly spam summary on September 15th, 2007
This week, we:
- got 11,963 messages from 272 different IP addresses.
- handled 20,658 sessions from 1,625 different IP addresses.
- received 433,498 connections from at least 123,409 different IPaddresses.
- hit a highwater of 8 connections being checked at once.
Volume is down a fair bit from last week ,although it is nowhere near the levels I would like it to be at.The daily
一個聽來的故事
男孩子和女孩子當然都需要工作亦有尋常嗜好,只是生活圈子太不一樣。
女孩子身邊總是有太多男伴,男孩子努力暗示,女孩子帶笑婉拒。
然後,漸行漸遠。
一段日子之後,男孩子知道女孩子單
放下心頭大石
孤獨一族基因活動具獨特模式,較容易導致生病與早逝 (路透社) 09月 14日 星期五 11:23AM
路透 華盛頓 電---孤獨一族比較可能生病及早逝,研究人員周四表示,可能已找到原因--他們的免疫系統較
A thought on untyped languages
In thinking about the whole subject of how languages deal with types recently , it struck me that calling something anuntyped language is usually somewhat of a misnomer.
Most things that get called untyped languages, such as assembly code,actually have types; it's just that they are attached to operationsinstead of to values (and variables, and storage locations). Arguablyassembly language has stronger typing for arithmetic operations thanmost high level languages, since there isn't any silent conversionbetween different types of numbers.
Thinking
2. 文明單位:出版與書籍設計
嘉賓:唐睿、袁蕙嫜
談得相當暢快,替這叢書的作者開心。每次,唐睿都悠閒寧定,我則高速急轉不停,口口聲聲「再傾再傾」,這次也是一樣。我剛從上海回來,他大概又回法