What have you found for these years?

2009-08-20

murmur (8) + ldc + ConwayGame

perhaps i should have forgotten that
but...

Lightweight Webservices with Sinatra and RestClient

Exposed simplicity instead of hidden complexity

cannot agree more!

*

LLVM D Compiler
好像不錯... mac 抓 source 來 build 應該可以用,有人做 installer.
macports 的 gdc 萬年沒更新了...
是說其實我想捨 D 取 Scala 了 @@
anyway, 也希望 D 能發展得好些。

好幾年前我在官方網站抓了 dmd 的 windows 版,
結果怎麼執行都有錯誤,而且原因不明。
後來追蹤下來,總算發現問題了。原來我在 windows 上,
執行到 linux 的 binary, 所以當然沒辦法跑.....

棍!原來官方包裝是 windows + linux binary,
而且沒記錯的話是放在同一個目錄下。
一個是 dmd.exe, 一個是 dmd
而我用 cygwin, 執行 dmd 會優先選擇 dmd 而不是 dmd.exe 啊!
......
拜託分開裝好嗎?很混淆。

*

Abstract Types vs. Generics
才忽然驚覺 Scala 裡這兩樣真的很像,很多時候幾乎是一樣的。
那麼問題就是,選哪個好?發問者有點沒禮貌,而且還會使用
stackoverflow... 感覺 XD 實在討厭像是 yahoo 姿勢佳類的東西。

Meredith Gregory 很有禮貌又不厭其煩地不斷解釋,
也丟出不少連結可以看... 真是有風度,要我就懶得繼續說了。
有些人姿態太高什麼其他意見都聽不太進去...
我總覺得像是姿勢佳之類的網站,還會更強化這種狀況。

最後也對發問者說,希望他對 functional programming,
更有經驗之後,再來重新看看這個討論 @@
或許到最後也真的只能說這句話,當對方完全沒進入狀況,
又不肯接受新想法時...

不過簡單地說,abstract types 和 type parameters,
差別在於 abstract types 才能做 recursive type, 之類的。
如果只是這樣,我會希望 scala 拿掉其中一個.......
現在功能太多,太讓人混淆了,類似的應該拿掉。

但這幾大篇還沒完全看懂,因為不知道 ConwayGame 跟
TwoPlayerGame 有什麼關係 @@
然後找到這個: On Numbers and Games
才漸漸比較知道 Meredith 在說什麼。
只是接下來就是看不完的 reference.....
Two-Level Types and Parameterized Modules

唉,都看不完好煩啊...

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0